curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "wan2.7-t2v",
"prompt": "Realistic style, a black kitten looks up at the sky while the camera slowly rises.",
"seconds": "5",
"size": "1080P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "pending",
"progress": 123,
"created_at": 123
}For Wan text-to-video models. The current project implementation exposes Ali wan2.7-t2v. After submission, query task status with GET /v1/videos/{task_id}.
Public fields: model, prompt, seconds, size, prompt_extend, watermark, seed, and negative_prompt.
curl --request POST \
--url https://api.powertokens.ai/v1/videos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "wan2.7-t2v",
"prompt": "Realistic style, a black kitten looks up at the sky while the camera slowly rises.",
"seconds": "5",
"size": "1080P"
}
'{
"id": "<string>",
"task_id": "<string>",
"object": "video",
"model": "<string>",
"status": "pending",
"progress": 123,
"created_at": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Wan text-to-video model. The current project implementation exposes wan2.7-t2v.
wan2.7-t2v Text prompt describing desired video content. Supports Chinese and English, max 800 characters.
Video duration in seconds as a string. Current default is "5".
Video resolution tier. The current wan2.7-t2v implementation defaults to 1080P. Options: 720P, 1080P.
720P, 1080P Whether to enable prompt optimization. The project forwards this field upstream.
Whether to add a watermark to the generated video.
Random seed in range [0, 2147483647].
Negative prompt describing content to avoid. Max 500 characters.
Submission successful, returns video task object.
Task unique identifier.
Task ID (same as id).
"video"
Model name used.
Task status.
pending, queued, running, succeeded, failed, cancelled Task progress (percentage).
Unix timestamp of creation time (seconds).