Try Without Signing Up
Use the demo API key to explore the API instantly. This key can only query existing sample tasks — it cannot create new content.| Task ID | Type | Status | Description |
|---|---|---|---|
demo_task_t2v_success | Video | success | Completed text-to-video |
demo_task_i2v_success | Video | success | Completed image-to-video |
demo_task_fail_text_moderation | — | fail | Prompt flagged by content moderation |
demo_task_fail_face_detected | — | fail | Face detected in uploaded image |
demo_task_fail_server_error | — | fail | Server error (safe to retry) |
The demo key has 0 credits and cannot create tasks. To generate videos and images, sign up and get your own API key.
Full Demo Script
Copy the script below, paste your API key, and run it. The script creates a task, polls until completion, and prints the output URL.- Python — Video
- Python — Image
- Node.js
- cURL
Run
What This Demo Does
| Step | API Call | What Happens |
|---|---|---|
| Create task | POST /jobs/createTask | Submits a generation request, returns taskId |
| Poll status | GET /jobs/recordInfo | Check progress until success or fail |
| Get output | Direct URL from output | Download the generated video or images |
Try Different Models
To switch models, just change themodel and inputs in the request body. The async flow (create → poll → get result) is the same for every model.
Midjourney Image
Midjourney Image
NanoBanana 2 Image
NanoBanana 2 Image
Seedance Image-to-Video
Seedance Image-to-Video
Next Steps
Available Models
See all supported video and image models
Playground
Generate in the browser — no code needed