Video — API reference

Base URL https://iqcore.ai/api/public/v1. Every request needs Authorization: Bearer iqk_… (authentication); errors follow one envelope.

Video creations

GET /videos

  • Operation video_list
  • Scope media.read
  • Lowest role viewer
  • Read only
  • MCP video_list

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

  • tool query string — Only this tool (default all). One of: all, generate, extend, upscale, modify, speak, relight, background, motion.
  • status query string — Only this status (default all). One of: all, failed, running, completed.
  • limit query integer — At most this many (default 10). min 1 · max 20
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • items array of object required
    • id string required — The video request id (uuid).
    • tool string — generate, extend, upscale, modify, speak, relight, background or motion.
    • status string required — queued, submitting, processing, completed, failed or cancelled.
    • prompt string — The prompt (shortened).
    • model string
    • aspect_ratio string
    • resolution string
    • seconds integer
    • credits_charged integer required
    • created_at string
    • reason string — Why it failed (failed only).

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/videos" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
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());
Python
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())
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

  • Operation video_generate
  • Scope create.spend
  • Lowest role member
  • Spends credits (max_credits required)
  • MCP video_generate

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-Key header 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

  • prompt string required min length 3 · max length 4000
  • model string — The model's name from video_models_list; leave out for the default. max length 60
  • aspect_ratio string One of: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9.
  • resolution string One of: 480p, 720p, 1080p, 4K.
  • duration integer — Seconds; one of the model's durations. min 1 · max 60
  • count integer min 1 · max 2
  • with_audio boolean
  • start_frame string — A picture of the Media library to start from (uuid). max length 64
  • end_frame string — A picture of the Media library to end on (uuid; needs start_frame). max length 64
  • style_id string — A style of the style library (uuid, from image_styles_list). max length 64
  • organization_id string — An organization id (uuid) of this key.
  • max_credits integer 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

  • message string required — A short sentence for a person.
  • job object required
    • kind string required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).
    • id string required — The job id (uuid): GET /jobs/{id}.
    • status string required — Usually queued.
    • label string required
    • status_url string required — The dashboard path that polls it (relative to https://iqcore.ai).
    • open_url string required — The dashboard page that shows it (relative to https://iqcore.ai).
    • credits_reserved integer required
  • credits_reserved integer required — Reserved now; the real charge (never more) is settled when the job finishes.
  • note string required

Errors: 400 401 402 403 404 409 422 429 500 — codes

Example

curl
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
}'
JavaScript
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());
Python
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())
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

  • Operation video_models_list
  • Scope media.read
  • Lowest role viewer
  • Read only
  • MCP video_models_list

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

  • tool query string — The tool whose models to list (default generate). One of: generate, extend, upscale, modify, speak, relight, background, motion.
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • live_tools array of string required — The Video tools that have a model now.
  • tool string required — The tool whose models follow.
  • models array of object required
    • id integer required
    • name string required — The model name to pass as `model`.
    • default boolean — Present (true) on the default model.
    • premium boolean — Present (true) on a subscribers model.
    • locked boolean — Present (true) when the account cannot use it now.
    • unavailable boolean — Present (true) while it cannot run.
    • modes array of string
    • aspect_ratios array of string
    • durations array of integer — Seconds the model can make.
    • max_videos integer required — Videos per request at most.
    • audio boolean — Present (true) when it can make sound.
    • source_seconds array of number | null — A tool on a clip: [min, max] seconds of the source clip (min null = no minimum).
    • credits_per_second object — resolution → credits of one second of video.
  • tiers array of object — generate only: the Fast, Standard and Pro choices.
    • tier string required — fast, standard or pro.
    • model_id integer required
    • model string
    • resolution string required
    • locked boolean — Present (true) when no model the account may run serves this tier.
    • fallback_for string — The premium model this tier stands in for.

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/videos/models" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
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());
Python
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())
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

  • Operation video_quick_edit
  • Scope media.write
  • Lowest role member
  • Changes data
  • MCP video_quick_edit

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-Key header 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

  • video string required — The clip (Media library id, uuid, from media_list). max length 64
  • operation string required One of: trim, stitch, speed, format.
  • start number min 0 · max 300
  • end number min 0 · max 300
  • clips array of string — Stitch: the clips in order (2 – 10), the edited clip among them. max items 10
  • factor number One of: 0.25, 0.5, 0.75, 1.25, 1.5, 2, 3, 4.
  • ratio string One of: 16:9, 9:16, 1:1, 4:5, 4:3, 3:4.
  • fit string — Format: crop (fill), blur (blurred bars) or pad (plain bars). One of: crop, blur, pad.
  • organization_id string — An organization id (uuid) of this key.

Response 201

  • message string required — A short sentence for a person.
  • job object required
    • kind string required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).
    • id string required — The job id (uuid): GET /jobs/{id}.
    • status string required — Usually queued.
    • label string required
    • status_url string required — The dashboard path that polls it (relative to https://iqcore.ai).
    • open_url string required — The dashboard page that shows it (relative to https://iqcore.ai).
    • credits_reserved integer required
  • note string required

Errors: 400 401 403 404 409 422 429 500 — codes

Example

curl
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"
}'
JavaScript
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());
Python
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())
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

  • Operation video_tool_run
  • Scope create.spend
  • Lowest role member
  • Spends credits (max_credits required)
  • MCP video_tool_run

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-Key header 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

  • tool string required One of: extend, upscale, modify, speak, relight, background, motion.
  • video string required — The clip (Media library id, uuid, from media_list). max length 64
  • prompt string — Required for extend and modify (unless a camera move is given); optional otherwise. max length 4000
  • model string — The model's name from video_models_list; leave out for the default. max length 60
  • resolution string One of: 480p, 720p, 1080p, 4K.
  • duration integer — Extend: seconds to add (one of the model's durations). min 1 · max 60
  • audio string — Speak: the voice recording (Media library audio id, uuid). max length 64
  • character string — Motion: the character picture (Media library image id, uuid). max length 64
  • lighting string One of: golden_hour, studio_soft, dramatic_side, neon_night, blue_hour, noon_sun, candlelight, moonlight, backlit.
  • camera string — 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_id string — An organization id (uuid) of this key.
  • max_credits integer 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

  • message string required — A short sentence for a person.
  • job object required
    • kind string required — image, video, voice or clip_edit (the kind for GET /jobs/{id}).
    • id string required — The job id (uuid): GET /jobs/{id}.
    • status string required — Usually queued.
    • label string required
    • status_url string required — The dashboard path that polls it (relative to https://iqcore.ai).
    • open_url string required — The dashboard page that shows it (relative to https://iqcore.ai).
    • credits_reserved integer required
  • credits_reserved integer required — Reserved now; the real charge (never more) is settled when the job finishes.
  • note string required

Errors: 400 401 402 403 404 409 422 429 500 — codes

Example

curl
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
}'
JavaScript
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());
Python
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())
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}

  • Operation video_status
  • Scope media.read
  • Lowest role viewer
  • Read only
  • MCP video_status

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

  • id path string required — The video request id (uuid). max length 64
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • id string required — The video request id (uuid).
  • tool string — generate, extend, upscale, modify, speak, relight, background or motion.
  • status string required — queued, submitting, processing, completed, failed or cancelled.
  • prompt string — The prompt (shortened).
  • model string
  • aspect_ratio string
  • resolution string
  • seconds integer
  • credits_charged integer required
  • created_at string
  • reason string — Why it failed (failed only).
  • mode string — text_to_video, image_to_video, … (the provider mode).
  • count integer
  • with_audio boolean — Present (true) when made with sound.
  • quality string
  • credits_reserved integer
  • source_file string — The source picture or clip (Media library id, uuid).
  • files array of object — The result videos (Media library ids, uuid).
    • id string required
    • name string
    • duration_s number
  • blocked_by_safety boolean — Present (true) when the provider's safety filter blocked it.
  • finished_at string

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/videos/<id>" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
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());
Python
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())
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

  • Operation video_cancel
  • Scope create.spend
  • Lowest role member
  • Changes data
  • MCP video_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

  • id path string required — The video request id (uuid). max length 64
  • Idempotency-Key header 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_id string — An organization id (uuid) of this key.

Response 200

  • id string required — The job id (uuid).
  • cancelled boolean required — Cancelled by this request (false: already started, finished or cancelled).
  • status string required — The status now.
  • message string required — A short sentence for a person.

Errors: 400 401 403 404 409 422 429 500 — codes

Example

curl
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 '{}'
JavaScript
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());
Python
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())
json
{
    "id": "<id>",
    "cancelled": false,
    "status": "status",
    "message": "message"
}