AISA_API_KEY unlocks Gemini-compatible GenerateContent and Qwen Wan 2.6 video synthesis.
Install
First, install the AIsa CLI if you have not already:What can agents do with it?
Marketing creatives
“Generate a cinematic hero image for a product launch deck.”
Social content
“Create a 5-second video loop for the next post.”
Storyboarding
“Produce 6 key frames illustrating the happy path of a user journey.”
Reference-to-video
“Animate this static mock into a cinematic slow push-in.”
Photorealism
“8k ultra-detailed cyberpunk skyline with neon rain.”
Agent reports
“Generate visual illustrations for a research report agent.”
Core capabilities
- Gemini-compatible generation — use
POST /v1beta/models/{model}:generateContentwith a verified model such asgemini-3.5-flashfor native Gemini-format content generation. - Video generation —
wan2.6-t2v(text-to-video) and image-to-video via an async task system. POST creates a task, GET polls status. - Asynchronous workflow — long-running video jobs are handled with
X-DashScope-Async: enable+ status polling.
Quick start
Gemini-compatible generation
GenerateContentResponse shape, with generated text in candidates[0].content.parts[0].text.
Video generation (async)
SUCCEEDED, the response includes a video_url you can download.
Python client
Endpoint reference
| Endpoint | Method | Purpose |
|---|---|---|
/v1beta/models/{model}:generateContent | POST | Gemini-compatible generation |
/apis/v1/services/aigc/video-generation/video-synthesis | POST | Create video task |
/apis/v1/services/aigc/tasks | GET | Poll video task status |
Get started
- Sign up at aisa.one (new accounts start with $2 free credit).
- Generate an API key from the console.
export AISA_API_KEY="your-key"and install the skill:
Related
Video API reference
Create-task and poll-status endpoints with live playgrounds.
Gemini generateContent
Gemini-compatible generation endpoint reference.
Async Operations
How task creation and polling work end-to-end.