aiml-image-video
oleh aimlapihello
Coding Agents & IDEsRingkasan
Generate images or videos via AIMLAPI from prompts.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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/
Persyaratan
- AIMLAPI account and API key (set as AIMLAPI_API_KEY environment variable)
Instalasi
clawhub install aimlapihello/aiml-image-videoJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.