Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.
Video creations
GET /videos
The account's video requests of every Video tool, newest first: id, tool, status, prompt, model, aspect ratio, resolution, seconds, credits charged, created_at and the reason of a failed one. Filter by tool and status.
Parameters
toolquery string — Only this tool (default all). One of:all,generate,extend,upscale,modify,speak,relight,background,motion.statusquery string — Only this status (default all). One of:all,failed,running,completed.limitquery integer — At most this many (default 10). min 1 · max 20organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
itemsarray of object requiredidstring required — The video request id (uuid).toolstring — generate, extend, upscale, modify, speak, relight, background or motion.statusstring required — queued, submitting, processing, completed, failed or cancelled.promptstring — The prompt (shortened).modelstringaspect_ratiostringresolutionstringsecondsintegercredits_chargedinteger requiredcreated_atstringreasonstring — Why it failed (failed only).
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/videos" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/videos", {
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://iqcore.ai/api/public/v1/videos",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"items": [
{
"id": "<id>",
"tool": "tool",
"status": "status",
"prompt": "A bright product photo of a leather boot",
"model": "model",
"aspect_ratio": "aspect_ratio",
"resolution": "resolution",
"seconds": 1,
"credits_charged": 1,
"created_at": "2026-12-05T09:00:00Z",
"reason": "reason"
}
]
}Make a video
POST /videos
Make a short AI video from a detailed prompt (subject, action, camera, light, mood), or bring a picture of the Media library to life (start_frame, optional end_frame). Runs at once: the price is reserved (never more than max_credits; video is paid from purchased credits only) and the video is queued. Follow it with GET /jobs/{id} or GET /videos/{id}; it lands in the Media library. Options per model: GET /videos/models.
Parameters
Idempotency-Keyheader string — Your own id for this request (1–100 of A–Z a–z 0–9 . _ : -). The same key and request within 24 hours returns the first answer (Idempotent-Replayed: true) instead of acting twice; the same key with another request is refused (422 idempotency_key_reused); while the first one runs, 409 request_in_progress. Refusals before any effect are not stored.
Request body application/json
promptstring required min length 3 · max length 4000modelstring — The model's name from video_models_list; leave out for the default. max length 60aspect_ratiostring One of:16:9,9:16,1:1,4:3,3:4,21:9.resolutionstring One of:480p,720p,1080p,4K.durationinteger — Seconds; one of the model's durations. min 1 · max 60countinteger min 1 · max 2with_audiobooleanstart_framestring — A picture of the Media library to start from (uuid). max length 64end_framestring — A picture of the Media library to end on (uuid; needs start_frame). max length 64style_idstring — A style of the style library (uuid, from image_styles_list). max length 64organization_idstring — An organization id (uuid) of this key.max_creditsinteger required — The most credits this request may spend. A higher price is refused (402 quote_exceeded) and nothing is charged. Only purchased credits pay over the API. min 0
Response 201
messagestring required — A short sentence for a person.jobobject requiredkindstring required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).idstring required — The job id (uuid): GET /jobs/{id}.statusstring required — Usually queued.labelstring requiredstatus_urlstring required — The dashboard path that polls it (relative to https://iqcore.ai).open_urlstring required — The dashboard page that shows it (relative to https://iqcore.ai).credits_reservedinteger required
credits_reservedinteger required — Reserved now; the real charge (never more) is settled when the job finishes.notestring required
Errors: 400 401 402 403 404 409 422 429 500 — codes
Example
curl -X POST "https://iqcore.ai/api/public/v1/videos" \
-H "Authorization: Bearer $IQCORE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
}'const res = await fetch("https://iqcore.ai/api/public/v1/videos", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}`, "Idempotency-Key": crypto.randomUUID(), "Content-Type": "application/json" },
body: JSON.stringify({
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
}),
});
console.log(res.status, await res.json());import os, uuid
import requests
res = requests.post(
"https://iqcore.ai/api/public/v1/videos",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
},
)
print(res.status_code, res.json()){
"message": "message",
"job": {
"kind": "kind",
"id": "<id>",
"status": "status",
"label": "label",
"status_url": "https://example.com/page",
"open_url": "https://example.com/page",
"credits_reserved": 1
},
"credits_reserved": 1,
"note": "note"
}Video models
GET /videos/models
The Video studio's live tools and, for one tool (default generate), its models: id, name, premium and locked flags, modes, ratios, resolutions, durations, audio, credits per second per resolution; for generate also the Fast, Standard and Pro tiers. Video uses purchased credits only.
Parameters
toolquery string — The tool whose models to list (default generate). One of:generate,extend,upscale,modify,speak,relight,background,motion.organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
live_toolsarray of string required — The Video tools that have a model now.toolstring required — The tool whose models follow.modelsarray of object requiredidinteger requirednamestring required — The model name to pass as `model`.defaultboolean — Present (true) on the default model.premiumboolean — Present (true) on a subscribers model.lockedboolean — Present (true) when the account cannot use it now.unavailableboolean — Present (true) while it cannot run.modesarray of stringaspect_ratiosarray of stringdurationsarray of integer — Seconds the model can make.max_videosinteger required — Videos per request at most.audioboolean — Present (true) when it can make sound.source_secondsarray of number | null — A tool on a clip: [min, max] seconds of the source clip (min null = no minimum).credits_per_secondobject — resolution → credits of one second of video.
tiersarray of object — generate only: the Fast, Standard and Pro choices.tierstring required — fast, standard or pro.model_idinteger requiredmodelstringresolutionstring requiredlockedboolean — Present (true) when no model the account may run serves this tier.fallback_forstring — The premium model this tier stands in for.
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/videos/models" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/videos/models", {
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://iqcore.ai/api/public/v1/videos/models",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"live_tools": [
"live_tool"
],
"tool": "tool",
"models": [
{
"id": 1,
"name": "Summer sale",
"default": false,
"premium": false,
"locked": false,
"unavailable": false,
"modes": [
"mode"
],
"aspect_ratios": [
"aspect_ratio"
],
"durations": [
1
],
"max_videos": 1,
"audio": false,
"source_seconds": [
1.5
],
"credits_per_second": {}
}
],
"tiers": [
{
"tier": "tier",
"model_id": 1,
"model": "model",
"resolution": "resolution",
"locked": false,
"fallback_for": "fallback_for"
}
]
}Quick edit a video
POST /videos/quick-edits
Edit a clip of the Media library without AI and without credits: trim (start / end seconds), stitch (clips in order, the clip itself among them), speed (factor) or format (reframe to a ratio: crop, blur or pad). Runs at once: a render is queued and the result is a new version next to the original. Follow it with GET /jobs/{id}.
Parameters
Idempotency-Keyheader string — Your own id for this request (1–100 of A–Z a–z 0–9 . _ : -). The same key and request within 24 hours returns the first answer (Idempotent-Replayed: true) instead of acting twice; the same key with another request is refused (422 idempotency_key_reused); while the first one runs, 409 request_in_progress. Refusals before any effect are not stored.
Request body application/json
videostring required — The clip (Media library id, uuid, from media_list). max length 64operationstring required One of:trim,stitch,speed,format.startnumber min 0 · max 300endnumber min 0 · max 300clipsarray of string — Stitch: the clips in order (2 – 10), the edited clip among them. max items 10factornumber One of:0.25,0.5,0.75,1.25,1.5,2,3,4.ratiostring One of:16:9,9:16,1:1,4:5,4:3,3:4.fitstring — Format: crop (fill), blur (blurred bars) or pad (plain bars). One of:crop,blur,pad.organization_idstring — An organization id (uuid) of this key.
Response 201
messagestring required — A short sentence for a person.jobobject requiredkindstring required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).idstring required — The job id (uuid): GET /jobs/{id}.statusstring required — Usually queued.labelstring requiredstatus_urlstring required — The dashboard path that polls it (relative to https://iqcore.ai).open_urlstring required — The dashboard page that shows it (relative to https://iqcore.ai).credits_reservedinteger required
notestring required
Errors: 400 401 403 404 409 422 429 500 — codes
Example
curl -X POST "https://iqcore.ai/api/public/v1/videos/quick-edits" \
-H "Authorization: Bearer $IQCORE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"video": "video",
"operation": "trim"
}'const res = await fetch("https://iqcore.ai/api/public/v1/videos/quick-edits", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}`, "Idempotency-Key": crypto.randomUUID(), "Content-Type": "application/json" },
body: JSON.stringify({
"video": "video",
"operation": "trim"
}),
});
console.log(res.status, await res.json());import os, uuid
import requests
res = requests.post(
"https://iqcore.ai/api/public/v1/videos/quick-edits",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"video": "video",
"operation": "trim"
},
)
print(res.status_code, res.json()){
"message": "message",
"job": {
"kind": "kind",
"id": "<id>",
"status": "status",
"label": "label",
"status_url": "https://example.com/page",
"open_url": "https://example.com/page",
"credits_reserved": 1
},
"note": "note"
}Run a video tool
POST /videos/tools
Run a Video tool on a clip of the Media library: extend (continue it, prompt), upscale (sharper), modify (change it as the prompt says, optional camera move), speak (lip-sync to an audio file), relight (lighting mood), background (remove it) or motion (a character picture moves like the clip). The price depends on the clip length. Runs at once: the price is reserved (never more than max_credits; purchased credits only) and the job is queued; follow it with GET /jobs/{id}. Live tools and models: GET /videos/models.
Parameters
Idempotency-Keyheader string — Your own id for this request (1–100 of A–Z a–z 0–9 . _ : -). The same key and request within 24 hours returns the first answer (Idempotent-Replayed: true) instead of acting twice; the same key with another request is refused (422 idempotency_key_reused); while the first one runs, 409 request_in_progress. Refusals before any effect are not stored.
Request body application/json
toolstring required One of:extend,upscale,modify,speak,relight,background,motion.videostring required — The clip (Media library id, uuid, from media_list). max length 64promptstring — Required for extend and modify (unless a camera move is given); optional otherwise. max length 4000modelstring — The model's name from video_models_list; leave out for the default. max length 60resolutionstring One of:480p,720p,1080p,4K.durationinteger — Extend: seconds to add (one of the model's durations). min 1 · max 60audiostring — Speak: the voice recording (Media library audio id, uuid). max length 64characterstring — Motion: the character picture (Media library image id, uuid). max length 64lightingstring One of:golden_hour,studio_soft,dramatic_side,neon_night,blue_hour,noon_sun,candlelight,moonlight,backlit.camerastring — Modify: a camera move. One of:static,push_in,pull_out,zoom_in,zoom_out,pan_left,pan_right,tilt_up,tilt_down,upward_tilt,downward_tilt_2,move_left,move_right,move_up,move_down,truck_left,truck_right,pedestal_up,pedestal_down,super_dolly_in,super_dolly_out,double_dolly,crash_zoom_in,focus_and_zoom,360_orbit,orbit_left,orbit_right,left_circling,right_circling,crane_up_epic_reveal,crane_down_landing_reveal,crane_over_the_head,jib_up,jib_down,overhead_passthrough,handheld_3,left_walk_3,right_walking,head_tracking,object_pov,snorricam,fpv_drone,stage_left,stage_right_2,whip_pan,dutch_angle,fisheye,dirty_lens,lens_crack,lens_flare,low_shutter.organization_idstring — An organization id (uuid) of this key.max_creditsinteger required — The most credits this request may spend. A higher price is refused (402 quote_exceeded) and nothing is charged. Only purchased credits pay over the API. min 0
Response 201
messagestring required — A short sentence for a person.jobobject requiredkindstring required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).idstring required — The job id (uuid): GET /jobs/{id}.statusstring required — Usually queued.labelstring requiredstatus_urlstring required — The dashboard path that polls it (relative to https://iqcore.ai).open_urlstring required — The dashboard page that shows it (relative to https://iqcore.ai).credits_reservedinteger required
credits_reservedinteger required — Reserved now; the real charge (never more) is settled when the job finishes.notestring required
Errors: 400 401 402 403 404 409 422 429 500 — codes
Example
curl -X POST "https://iqcore.ai/api/public/v1/videos/tools" \
-H "Authorization: Bearer $IQCORE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"tool": "extend",
"video": "video",
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
}'const res = await fetch("https://iqcore.ai/api/public/v1/videos/tools", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}`, "Idempotency-Key": crypto.randomUUID(), "Content-Type": "application/json" },
body: JSON.stringify({
"tool": "extend",
"video": "video",
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
}),
});
console.log(res.status, await res.json());import os, uuid
import requests
res = requests.post(
"https://iqcore.ai/api/public/v1/videos/tools",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"tool": "extend",
"video": "video",
"prompt": "A bright product photo of a leather boot",
"max_credits": 10
},
)
print(res.status_code, res.json()){
"message": "message",
"job": {
"kind": "kind",
"id": "<id>",
"status": "status",
"label": "label",
"status_url": "https://example.com/page",
"open_url": "https://example.com/page",
"credits_reserved": 1
},
"credits_reserved": 1,
"note": "note"
}Video status
GET /videos/{id}
One video request by its id (from video_list or create_recent): tool, status, prompt, model, settings, credits reserved and charged, the source and result videos as Media library ids, the reason of a failure and the times.
Parameters
idpath string required — The video request id (uuid). max length 64organization_idquery string — The organization to act in. Required when the key works in several organizations.
Response 200
idstring required — The video request id (uuid).toolstring — generate, extend, upscale, modify, speak, relight, background or motion.statusstring required — queued, submitting, processing, completed, failed or cancelled.promptstring — The prompt (shortened).modelstringaspect_ratiostringresolutionstringsecondsintegercredits_chargedinteger requiredcreated_atstringreasonstring — Why it failed (failed only).modestring — text_to_video, image_to_video, … (the provider mode).countintegerwith_audioboolean — Present (true) when made with sound.qualitystringcredits_reservedintegersource_filestring — The source picture or clip (Media library id, uuid).filesarray of object — The result videos (Media library ids, uuid).idstring requirednamestringduration_snumber
blocked_by_safetyboolean — Present (true) when the provider's safety filter blocked it.finished_atstring
Errors: 400 401 403 404 422 429 500 — codes
Example
curl "https://iqcore.ai/api/public/v1/videos/<id>" \
-H "Authorization: Bearer $IQCORE_KEY"const res = await fetch("https://iqcore.ai/api/public/v1/videos/<id>", {
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}` },
});
console.log(res.status, await res.json());import os
import requests
res = requests.get(
"https://iqcore.ai/api/public/v1/videos/<id>",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json()){
"id": "<id>",
"tool": "tool",
"status": "status",
"prompt": "A bright product photo of a leather boot",
"model": "model",
"aspect_ratio": "aspect_ratio",
"resolution": "resolution",
"seconds": 1,
"credits_charged": 1,
"created_at": "2026-12-05T09:00:00Z",
"reason": "reason",
"mode": "mode",
"count": 1,
"with_audio": false,
"quality": "quality",
"credits_reserved": 1,
"source_file": "source_file",
"files": [
{
"id": "<id>",
"name": "Summer sale",
"duration_s": 1.5
}
],
"blocked_by_safety": false,
"finished_at": "2026-12-05T09:00:00Z"
}Cancel a video
POST /videos/{id}/cancel
Cancel a video request that is still waiting to be sent to the provider (from job_status / video_list): the reserved credits go back, nothing is charged. Once it was sent it can no longer be cancelled.
Parameters
idpath string required — The video request id (uuid). max length 64Idempotency-Keyheader string — Your own id for this request (1–100 of A–Z a–z 0–9 . _ : -). The same key and request within 24 hours returns the first answer (Idempotent-Replayed: true) instead of acting twice; the same key with another request is refused (422 idempotency_key_reused); while the first one runs, 409 request_in_progress. Refusals before any effect are not stored.
Request body application/json
organization_idstring — An organization id (uuid) of this key.
Response 200
idstring required — The job id (uuid).cancelledboolean required — Cancelled by this request (false: already started, finished or cancelled).statusstring required — The status now.messagestring required — A short sentence for a person.
Errors: 400 401 403 404 409 422 429 500 — codes
Example
curl -X POST "https://iqcore.ai/api/public/v1/videos/<id>/cancel" \
-H "Authorization: Bearer $IQCORE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'const res = await fetch("https://iqcore.ai/api/public/v1/videos/<id>/cancel", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}`, "Idempotency-Key": crypto.randomUUID(), "Content-Type": "application/json" },
body: JSON.stringify({}),
});
console.log(res.status, await res.json());import os, uuid
import requests
res = requests.post(
"https://iqcore.ai/api/public/v1/videos/<id>/cancel",
headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={},
)
print(res.status_code, res.json()){
"id": "<id>",
"cancelled": false,
"status": "status",
"message": "message"
}