aiml-image-video
bởi aimlapihello
Coding Agents & IDEsTóm tắt
Generate images or videos via AIMLAPI from prompts.
Mô tả
Kỹ năng này làm gì
Generates images and videos from text prompts using the AIMLAPI platform. Scripts handle retries, async video polling, and required User-Agent headers without manual setup.
Handles AIMLAPI's async video polling and retry logic automatically, removing boilerplate that would otherwise need to be written for every project.
Khi nào nên dùng
- Generating product mockup images from text descriptions
- Creating short video clips from scene prompts
- Batch-generating image variations with custom sizes
- Automating media generation in agent pipelines
- Prototyping visual assets from written briefs
Quy trình ví dụ
User asks: generate a time-lapse video of clouds over a mountain range
- 1
Run gen_video.py with the prompt and model flag
- 2
POST to /v2/video/generations to create the async task
- 3
Poll /v2/video/generations with the returned generation_id until status is completed
- 4
Download the video from the returned URL to the output directory
Video file saved to ./out/videos/
Yêu cầu
- AIMLAPI account and API key (set as AIMLAPI_API_KEY environment variable)
Cài đặt
clawhub install aimlapihello/aiml-image-videoChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.