Loading...
Loading...
Video generation with Seedance AI API (by BytePlus) via the Pixazo API. TRIGGER when the user mentions "Seedance" or "Seedance AI API", or when the user asks to generate / make / create a video / clip / animation and Seedance is named or implied. DO NOT TRIGGER for image / music / voice / 3d / try-on — each has its own skill.
npx skill4agent add pixazo-ai/skills seedancePIXAZO_API_KEY~/.pixazo/api-keyI'll need your Pixazo API key once. Get it free at https://api-console.pixazo.ai/api_keys — sign in, click "Create new key", copy it, and paste it here. I'll save it toso you only do this once.~/.pixazo/api-key
~/.pixazo/api-keychmod 600| Version | Operation | apiId / operationId |
|---|---|---|
| Seedance 2.0 | Text to Video | |
| Seedance 2.0 | Image to video | |
| Seedance 2.0 | Reference to Video (Ref Image + Ref Video + Ref Audio to Video) | |
| Seedance 2.0 | Video to Video (Video Editing) | |
| Seedance 2.0 Fast | Text to Video | |
| Seedance 2.0 Fast | Image to video | |
| Seedance 2.0 Fast | Reference to Video (Ref Image + Ref Video + Ref Audio to Video) | |
| Seedance 2.0 Fast | Video to Video (Video Editing) | |
| Seedance 1.0 Lite | Image to Video (First/Last Frame to Video) | |
| Seedance 1.0 Pro | Image to Video | |
| Seedance 1.0 Pro | Text to Video | |
POST https://gateway.pixazo.ai/seedance-2-0/v1/text-to-videoPOST https://gateway.pixazo.ai/seedance-2-0/v1/first-last-frame-to-videoPOST https://gateway.pixazo.ai/seedance-2-0/v1/reference-to-videoPOST https://gateway.pixazo.ai/seedance-2-0/v1/edit-videoPOST https://gateway.pixazo.ai/seedance-2-0-fast/v1/text-to-video-fastPOST https://gateway.pixazo.ai/seedance-2-0-fast/v1/first-last-frame-to-video-fastPOST https://gateway.pixazo.ai/seedance-2-0-fast/v1/reference-to-video-fastPOST https://gateway.pixazo.ai/seedance-2-0-fast/v1/edit-video-fastPOST https://gateway.pixazo.ai/byteplus/v1/generateFrame2VideoTaskPOST https://gateway.pixazo.ai/byteplus/v1/generateImage2VideoTaskPOST https://gateway.pixazo.ai/byteplus/v1/generateVideoTaskcurl -X POST 'https://gateway.pixazo.ai/seedance-2-0/v1/text-to-video' \
-H 'Content-Type: application/json' \
-H "Ocp-Apim-Subscription-Key: $PIXAZO_API_KEY" \
-d '{
"content": [{"type": "text", "text": "A cat walking on the beach"}]
}'import os, requests
r = requests.post(
"https://gateway.pixazo.ai/seedance-2-0/v1/text-to-video",
headers={
"Ocp-Apim-Subscription-Key": os.environ["PIXAZO_API_KEY"],
"Content-Type": "application/json",
},
json={
"content": [{"type": "text", "text": "A cat walking on the beach"}]
},
timeout=300,
)
r.raise_for_status()
print(r.json())const res = await fetch('https://gateway.pixazo.ai/seedance-2-0/v1/text-to-video', {
method: 'POST',
headers: {
'Ocp-Apim-Subscription-Key': process.env.PIXAZO_API_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"content": [{"type": "text", "text": "A cat walking on the beach"}]
}),
});
console.log(await res.json());task_idrequest_idimport time, requests, os
KEY = os.environ["PIXAZO_API_KEY"]
HEADERS = {"Ocp-Apim-Subscription-Key": KEY, "Content-Type": "application/json"}
# 1) Submit
submit = requests.post("https://gateway.pixazo.ai/seedance-2-0/v1/text-to-video", headers=HEADERS, json={...}).json()
task_id = submit.get("task_id") or submit.get("request_id") or submit.get("id")
# 2) Poll (every 5–10s; total cap ~10 min for video, ~3 min for music)
while True:
status = requests.get(f"https://gateway.pixazo.ai/seedance-2-0/v1/result/{task_id}", headers=HEADERS).json()
if status.get("status") in ("completed", "succeeded", "ready", "done"):
break
if status.get("status") in ("failed", "error"):
raise RuntimeError(status.get("error") or "generation failed")
time.sleep(8)
# 3) Pull the result URL out (field varies — usually output_url, video_url, audio_url, or url)
result_url = status.get("output_url") or status.get("video_url") or status.get("audio_url") or status.get("url")Fetch:https://www.pixazo.ai/models/seedance.md
| Status | Meaning | Tell the user |
|---|---|---|
| 401 | API key missing/wrong | "Your Pixazo API key looks invalid. Get a fresh one at https://api-console.pixazo.ai/api_keys" |
| 402 | Out of credits | "Your Pixazo account is out of credits. Top up at https://api-console.pixazo.ai/dashboard" |
| 429 | Rate limited | "Pixazo is rate-limiting — let me wait 5s and retry." (do it once) |
4xx with | Validation issue (e.g. bad prompt or missing field) | Show the error message verbatim and suggest a fix |
| 5xx | Transient | "Pixazo had a hiccup — let me retry." (one retry, then surface the error) |
Fetch:https://www.pixazo.ai/models/seedance.md
https://www.pixazo.ai/models/seedancehappy-horsep-videosoraveorunwayklingpikahiggsfieldgenflareomnihumanlucy-editgrok-imagineltxlumahailuomochistable-diffusionveedviduwanpixversekandinskynpx skills add Pixazo-AI/skills --skill '*'