Endpoint
POST https://qingbo.dev/v1/tasks
Submit an image, video, or audio generation task. Returns a task_id immediately.
Request Parameters
Model name, e.g., "veo3", "gpt-4o-image", "sora2"
Operation type: generate, edit, upscale, variation, blend
Generation description text
Webhook callback URL upon task completion
Pass-through field for model-specific parameters, sent directly to the upstream model
For additional parameters, refer to the Image Generation Overview or Video Generation Overview.
Response
{
"task_id": "task_01K8SGYNNNVBQTXNR4MM964S7K",
"model": "veo3",
"action": "generate",
"status": "queued",
"created_at": 1720000000,
"progress": 0
}
Examples
curl -X POST https://qingbo.dev/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo3",
"action": "generate",
"prompt": "A cat walking on the beach at sunset",
"duration": 5
}'