agnes api

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    agnes api

    1

    Python client for AGNES API image and video generation with automated polling, key rotation, and content pipelines.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    agnes api

    Example session with this skill installed

    Create a 4-second 16:9 video of a futuristic neon city in the rain using text-to-video mode and save it to the default video directory.

    • Read your context and instructions
    • Compiled the agnes api

    I have initiated the video generation task for the futuristic neon city. The request has been sent to the AGNES API, and I am now polling the task status.

    Task Summary:

    • Model: agnes-video-2.5-flash
    • Mode: text
    • Parameters: 16:9, 720P, 4 seconds
    • Local Path: ~/agent/media/videos/agnes-video-1715832000.mp4

    Video Generation Log

    StageStatusDetail
    API RequestSuccessTask ID: vid_8f2k9s01am2
    QueuingCompletedPosition in queue: 2
    ProcessingCompletedRendering frames at 720P
    PollingSuccessStatus: completed
    DownloadSuccessFile saved to ~/agent/media/videos/

    Next steps

    • Run @scripts/query_video.py --task_id vid_8f2k9s01am2 if you need to re-verify the metadata.
    • Use the generated video as a first_frame input for @scripts/keyframes.py to extend the animation.
    • Apply @scripts/i2i.py to a captured frame if you want to generate matching promotional images.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Generating high-quality visual assets through APIs is often plagued by complex polling logic, key rotation, and strict parameter constraints. This skill provides a production-ready Python interface for the AGNES API, handling media generation workflows from basic text-to-image to complex multi-step video pipelines.

    What it does

    • Image Generation produces visual assets using the agnes-image-2.5-flash model with support for specific aspect ratios and resolutions up to 4K.
    • Video Synthesis handles asynchronous task creation and polling for agnes-video-2.5-flash, including text-to-video and image-to-video modes.
    • Advanced Editing enables image-to-image refinement, multi-image composition, and consistent character anchoring for comic generation.
    • Content Pipelines automates specialized formats like ink-wash style poem recitations, multi-character story videos, and historical news clips.
    • Client Management implements automatic API key rotation and request retries to handle rate limits and service availability.

    How it works

    1. Configuration requires placing API keys in ~/.config/agnes/paths.yaml and verifying them with the provided validation script.
    2. Initialization uses the unified AgnesClient to handle authentication and low-level HTTP transport.
    3. Execution triggers specific scripts like t2v.py for video or compose.py for image layering based on the desired output.
    4. Polling monitors the asynchronous video task status from queued to completed before downloading the final file to local media directories.

    Frameworks & tools

    Python-based client utilizing urllib, ffmpeg for video processing, and edge-tts for audio synthesis.

    Why this beats prompting it yourself

    Writing raw API calls for asynchronous video tasks requires manual polling loops and error handling for 429 rate limits. This skill abstracts that complexity into a robust client that manages state, file downloads, and directory organization automatically.

    Use cases

    • Generate consistent comic strips with character anchoring and speech bubbles.
    • Create automated 9:16 social media videos with synchronized TTS and subtitles.
    • Upscale and refine existing images using style transfer and quality enhancement.
    • Batch process video clips from static image assets for content marketing.

    Known limitations

    Video generation is restricted to 720P resolution and requires up to 5 minutes per segment. Flash models support a maximum of five reference images and three audio tracks.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Video limited to 720P. Polling required for async tasks. Flash model limits: 5 images/3 audios max. i2v speed is approx 5 mins per segment.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    Accounts
    Agnes Ai
    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    apihub.agnes-ai.com
    example.com
    Listed15 days ago

    What's inside

    Frequently Asked Questions

    This skill eliminates the manual labor of writing polling loops, managing 429 rate limit errors, and rotating API keys, providing a production-ready Python client that automates the entire media generation lifecycle.

    The package includes the unified `AgnesClient` Python library, pre-configured execution scripts for various media pipelines (like `t2v.py` and `compose.py`), and automated workflows for TTS synchronization.

    Yes, the skill includes specialized logic for character anchoring and multi-image composition, allowing you to maintain visual consistency across comic panels or story sequences.

    The skill requires Python and `ffmpeg` for video processing; you simply need to place your API keys in the designated YAML config file and run the provided validation script to get started.

    Video generation is currently limited to 720P resolution with a processing time of approximately 5 minutes per segment, while image generation supports resolutions up to 4K.

    While built as a standalone Python client, the library is designed for easy integration into autonomous agents or backend services that require reliable visual asset generation.

    New in APIs & Backend