CQTAI
MiniMax · Video

CF Super-resNEW

📌 What is thisCF super-resolution workflows: output 2K / 4K at the chosen ratio for higher quality. Three values — cf-multi-reference, cf-mj and cf-fl2v — each taking the same inputs as its standard counterpart, with the resolution tier switched to 2K / 4K.
💡 When to useUse when you need higher-quality (2K / 4K) output. Note: CF workflows only accept resolution=2K/4K (480P/768P/1080P returns 400) and cost more than the standard tiers (2K=30, 4K=60 credits/sec, see billing).
🔗 Response formatThe query response follows the OpenAI video-task format: a flat top-level structure (no {code,msg,data} wrapper), lowercase status queued / running / success / failed, success returns video_url, failure returns {"error":{"code","message"}}; video_url is our CDN direct link, ready to download/play.

Endpoints

UsageMethodPath
Submit taskPOST/v1/videos
Query ResultGET/v1/videos/{taskId}
Recommended polling intervalPoll GET /v1/videos/{taskId} every 5s until status = success / failed.

Workflow values

The 3 values share this page’s resolution tiers (2K/4K) and pricing; materials and duration follow their standard counterparts.

workflow_idUsageMaterialsDuration (sec)Resolution tiers
cf-multi-referenceSuper-res multi-image referenceimage_urls <=9 · ref videos <=3 · audio <=34~152K / 4K
cf-mjSuper-res MJ-style referenceimage_urls <=9 · ref videos <=3 · audio <=34~152K / 4K
cf-fl2vSuper-res first/last-frame transitionfirst_image (required) + last_image (optional); image_urls / ref videos / audio not accepted4~102K / 4K
CF values cannot be inferred from inputs — pass workflow_id explicitly. Params marked "only for …" below apply to that value alone; sending them elsewhere returns 400 and nothing is generated.

Request Parameters

ParamTypeRequiredDescription
modelstringFixed minimax-h3
workflow_idstringRequiredWorkflow; 1 of 3 on this page: cf-multi-reference / cf-mj / cf-fl2v. See the table below for what each does; none of these can be inferred from inputs — you must set it explicitly
promptstringRequiredRequired. Text description (the new engine always requires prompt — including image-to-video and first/last-frame, e.g. "gentle camera push-in, soft light")
image_urlsstring[]Reference image URLs, up to 9 (alias: images). Only for cf-multi-reference / cf-mj, where it is required; not accepted by cf-fl2v
first_imagestringFirst-frame keyframe image URL (alias: first_frame_image). Only for cf-fl2v, where it is required
last_imagestringLast-frame keyframe image URL (optional, alias: last_frame_image). Only for cf-fl2v; must accompany first_image — passing last only returns invalid_request
ratiostringAspect ratio, 1 of 8: 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 3:2 / 2:3 / 21:9, default 16:9 (ratio x resolution tier determine the output size; see the size table)
resolutionstringResolution tier (CF super-res workflow): 2K / 4K, default 2K (480P/768P/1080P not accepted); unit price 2K=30, 4K=60 credits/sec, see billing
durationintegerDuration (sec) integer 4-15, default 4 (alias: seconds); cf-fl2v caps at 10 seconds
reference_videosstring[]Reference video URLs, up to 3, as motion/style reference (alias: reference_video). Only for cf-multi-reference / cf-mj
audio_urlsstring[]Audio URLs, up to 3, for audio-guided generation (alias: reference_audios). Only for cf-multi-reference / cf-mj
prompt_enhancebooleanPrompt enhancement (optional, boolean); defaults to on if omitted

Request Example

curl -X POST https://api.cqtai.com/v1/videos \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "minimax-h3",
    "workflow_id": "cf-multi-reference",
    "prompt": "gentle camera push-in, soft light",
    "image_urls": ["https://cdn.novapi.ai/your/frame.png"],
    "ratio": "16:9",
    "resolution": "2K",
    "duration": 8
  }'
# -> 创建响应: { "id":"<task_id>", "task_id":"<task_id>", "object":"video", "model":"minimax-h3", "status":"PROCESSING", "progress":0 }

Response Example

{
  "id": "b976d0f8c1ed4c1c8ef006ea22161bcc",
  "task_id": "b976d0f8c1ed4c1c8ef006ea22161bcc",
  "object": "video",
  "model": "minimax-h3",
  "status": "success",
  "progress": 100,
  "video_url": "https://cdn.novapi.ai/minimax/1786516943631_d6ddaeaa68a4464f9e16938f16b9534b.mp4"
}

Response Fields

FieldTypeDescription
idstringTask ID (opaque), same as task_id; used to poll GET /v1/videos/{task_id}
task_idstringTask ID (opaque); returned on submit, used for polling
objectstringObject type, always "video"
modelstringModel name, always "minimax-h3"
statusstringTask status (lowercase): queued / running / success / failed
progressnumberProgress 0-100
video_urlstringResult video URL (our CDN direct link); returned when status = success
errorobjectError info {"code","message"}; returned when status = failed

Billing & Credits

Billed per second = credits/sec x duration (sec). CF super-res credits/sec: 2K=30, 4K=60. Example: 2K 6s = 30 x 6 = 180. Auto-refunded on failure.