openclaw-aisa-media-genGenerate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
Install via ClawdBot CLI:
clawdbot install chaimengphp/openclaw-aisa-media-genGenerate images and videos with one AIsa API key:
gemini-3-pro-image-preview (Gemini GenerateContent)wan2.6-t2v (Qwen Wan 2.6 / Tongyi Wanxiang, async task)API Reference: AIsa API Reference (all pages available at https://aisa.mintlify.app/llms.txt)
| Resolution | AIsa (Contract) | AIsa (Official) | Bailian (Official) | OpenRouter |
|------------|-----------------|-----------------|-------------------|------------|
| 720P | $0.06/sec | ~$0.08 | ~$0.10 | â |
| 1080P | $0.09/sec | ~$0.12 | ~$0.15 | â |
| Pro/Animate | $0.108â0.156 | ~$0.18 | ~$0.25 | â |
Key Benefits:
"Generate a cyberpunk cityscape at night, neon lights, rainy, cinematic"
"Use a reference image to generate a 5-second shot: slow camera push-in, wind blowing hair, cinematic, shallow depth of field"
export AISA_API_KEY="your-key"
https://api.aisa.one/v1POST /models/{model}:generateContentDocumentation: google-gemini-chat (GenerateContent) at https://aisa.mintlify.app/api-reference/chat/chat-api/google-gemini-chat.md
curl -X POST "https://api.aisa.one/v1/models/gemini-3-pro-image-preview:generateContent" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents":[
{"role":"user","parts":[{"text":"A cute red panda, ultra-detailed, cinematic lighting"}]}
]
}'
Note: Response may contain candidates[].parts[].inline_data (typically with base64 data and mime type); client script automatically parses and saves the file.
https://api.aisa.one/apis/v1POST /services/aigc/video-generation/video-synthesisX-DashScope-Async: enable (required for async)Documentation: video-generation at https://aisa.mintlify.app/api-reference/aliyun/video/video-generation.md
curl -X POST "https://api.aisa.one/apis/v1/services/aigc/video-generation/video-synthesis" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-H "X-DashScope-Async: enable" \
-d '{
"model":"wan2.6-t2v",
"input":{
"prompt":"cinematic close-up, slow push-in, shallow depth of field",
"img_url":"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/320px-Cat03.jpg"
},
"parameters":{
"resolution":"720P",
"duration":5,
"shot_type":"single",
"watermark":false
}
}'
GET /services/aigc/tasks?task_id=...Documentation: task at https://aisa.mintlify.app/api-reference/aliyun/video/task.md
curl "https://api.aisa.one/apis/v1/services/aigc/tasks?task_id=YOUR_TASK_ID" \
-H "Authorization: Bearer $AISA_API_KEY"
# Generate image (save to local file)
python3 {baseDir}/scripts/media_gen_client.py image \
--prompt "A cute red panda, cinematic lighting" \
--out "out.png"
# Create video task (requires img_url)
python3 {baseDir}/scripts/media_gen_client.py video-create \
--prompt "cinematic close-up, slow push-in" \
--img-url "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/320px-Cat03.jpg" \
--duration 5
# Poll task status
python3 {baseDir}/scripts/media_gen_client.py video-status --task-id YOUR_TASK_ID
# Wait until success (optional: print video_url on success)
python3 {baseDir}/scripts/media_gen_client.py video-wait --task-id YOUR_TASK_ID --poll 10 --timeout 600
# Wait until success and auto-download mp4
python3 {baseDir}/scripts/media_gen_client.py video-wait --task-id YOUR_TASK_ID --download --out out.mp4
Generated Mar 1, 2026
AI agents generate branded images and short videos for social media posts, ads, and stories. This automates content creation for platforms like Instagram and TikTok, reducing manual design work and enabling rapid iteration.
Generate custom images and videos for product listings, such as lifestyle shots or animated demos. This helps online retailers showcase items in various contexts without expensive photoshoots, boosting engagement and sales.
Create visual aids like diagrams, illustrations, and explanatory videos for online courses or tutorials. This supports educators and edtech platforms in producing engaging, customized learning materials efficiently.
Develop concept art, character images, and promotional videos for games or mobile applications. This accelerates prototyping and marketing for indie developers and studios on tight budgets.
Produce training videos and infographics for employee onboarding or internal updates. This streamlines communication for businesses, making complex information more accessible and visually appealing.
Offer tiered subscription plans based on usage volume, such as pay-per-call or monthly credits for image and video generation. This attracts startups and enterprises needing scalable, cost-effective media creation without infrastructure overhead.
License the API to agencies or platforms that integrate media generation into their own services, like social media management tools. This generates revenue through licensing fees and partnerships while expanding market reach.
Provide tailored packages with contract pricing, dedicated support, and custom features for large organizations. This targets businesses requiring high-volume, reliable media generation for marketing or operational needs.
đŹ Integration Tip
Use the provided Python client script to handle async video tasks automatically, and ensure the AISA_API_KEY environment variable is set for authentication.
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Capture frames or clips from RTSP/ONVIF cameras.
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Generate images using the internal Google Antigravity API (Gemini 3 Pro Image). High quality, native generation without browser automation.
äœżçšć çœź image_generate.py èæŹçæćŸç, ć〿ž æ°ć ·äœç `prompt`ă
AI image generation powered by CellCog. Create images, edit photos, consistent characters, product photography, reference-based images, sets of images, style transfer. Professional image creation with AI.