Light Mode
Create Task
POST
/api/v1/taskOverview
The Qubico WanX API offers three advanced video generation models that can create high-quality videos from text prompts or images. All generated videos are 480p resolution with 85 frames. WanX model is less censored than other alternatives and can do NSFW content.
Models and Pricing
Model | Task Type | Description | Price |
---|---|---|---|
wan-txt2video-1.3B | txt2video-1.3b | Lightweight text-to-video generation model | $0.12 per generation |
wan-txt2video-14B | txt2video-14b | Advanced text-to-video generation model | $0.28 per generation |
wan-img2video-14B | img2video-14b | Image-to-video transformation model | $0.28 per generation |
Parameters:
Special Considerations
- Prompt Quality: The quality of the prompt directly affects the quality of the generated video. Detailed, specific descriptions are recommended.
- Video Specifications: All generated videos are 85 frames, 30 steps, 480p resolution.
- Processing Time: Video generation requires processing time. Webhook configuration is recommended for receiving task completion notifications.
- Image Format: For the img2video-14b model, supported image formats include URL links or base64 encoded image data.
- Aspect Ratio: Two aspect ratios are supported: 16:9 and 9:16, with 16:9 as the default.
Request
Header Params
x-api-key
string
optional
your api key
Body Params application/json
optional
One of
model
enum<string>
required
Model name
Allowed value:
Qubico/wanx
task_type
enum<string>
required
Task type
Allowed value:
txt2video-1.3b
input
object
required
config
object (TaskConfig)
optional
Example
{
"model": "Qubico/wanx",
"task_type": "txt2video-1.3b",
"input": {
"prompt": "string",
"negative_prompt": "string",
"aspect_ratio": "16:9"
},
"config": {
"webhook_config": {
"endpoint": "string",
"secret": "string"
}
}
}
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Task created successfully
Data Schema
task_id
string
optional
Unique identifier for the task
status
enum<string>
optional
Current status of the task
Allowed values:
pendingprocessingcompletedfailed
created_at
string <date-time>
optional
Timestamp when the task was created
Example
{
"task_id": "string",
"status": "pending",
"created_at": "2019-08-24T14:15:22.123Z"
}
Last modified: 2 days ago