As low as
3% of official pricing,
StartExample: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.
Vidu Q1 API Documentation#
Vidu Q1 is suitable for text-to-video, image-to-video, storyboards, ads, and creative video production. YesAPI.online provides unified authentication, a stable Base URL, and consistent request patterns for production integration.Base URL#
Authentication#
Model Name#
| Field | Value |
|---|
| Model | vidu-q1 |
| API type | Video Generation Task API |
Request Endpoint#
POST https://yesapi.online/v1/videos/generationsRequest Parameters#
| Parameter | Type | Required | Default | Description |
|---|
model | string | Yes | - | Fixed value: vidu-q1 |
prompt | string | No | - | Task prompt or instruction |
messages | array | No | - | Conversation messages for chat models |
stream | boolean | No | false | Enable streaming for chat models |
callback_url | string | No | - | Callback URL for async media tasks |
Request Example#
Response Example#
{"id":"response_or_task_id","model":"vidu-q1","status":"succeeded","created":1784534400}
Response Fields#
| Field | Type | Description |
|---|
id | string | Request or task ID |
model | string | Model used by the request |
status | string | Task status for async APIs |
usage | object | Usage details when available |
error | object | Error details when the request fails |
Python Example#
Node.js Example#
Error Codes#
| Status | Type | How to Fix |
|---|
400 | Invalid request | Check required fields and parameter formats |
401 | Unauthorized | Verify your API key |
402 | Insufficient balance | Check balance or quota |
429 | Rate limited | Reduce concurrency or add retry backoff |
500 | Service error | Retry later and keep the request ID |
Best Practices#
Keep prompts explicit and include output requirements.
Store request IDs and business IDs for tracing.
Use callbacks or polling for asynchronous media generation.
As low as
3% of official pricing,
StartExample: at 0.2 model rate, pay 10.00 → usable $50.00. Balance is usable across all models. Actual pricing is subject to the website display.