Voice — API reference

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

Voice-overs

GET /voice-overs

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

The account's voice-overs from Generate Voice, newest first: id, status, text, characters, voice, language, style, model, length, credits charged, created_at and the reason of a failed one. Filter by status.

Parameters

  • 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 voice-over id (uuid).
    • status string required — queued, processing, completed, failed or cancelled.
    • text string — The text (shortened).
    • characters integer
    • voice string
    • language string
    • style string
    • model string
    • seconds number — The audio length.
    • 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/voice-overs" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/voice-overs", {
  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/voice-overs",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "items": [
        {
            "id": "<id>",
            "status": "status",
            "text": "text",
            "characters": 1,
            "voice": "voice",
            "language": "language",
            "style": "style",
            "model": "model",
            "seconds": 1.5,
            "credits_charged": 1,
            "created_at": "2026-12-05T09:00:00Z",
            "reason": "reason"
        }
    ]
}

Make a voice-over

POST /voice-overs

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

Turn a text into a spoken voice-over (an audio file in the Media library). voice / language / style from GET /voice-overs/models. Runs at once: the price is reserved (never more than max_credits; only purchased credits pay) and the voice-over is queued. Follow it with GET /jobs/{id} or GET /voice-overs/{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

  • text string required min length 2 · max length 10000
  • model string — The model's name from voice_models_list; leave out for the default. max length 60
  • voice string max length 60
  • language string — A language code of the model, or auto. max length 8
  • style string One of: neutral, cheerful, calm, serious, excited, sad, whisper.
  • speed number min 0.5 · max 2
  • 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/voice-overs" \
  -H "Authorization: Bearer $IQCORE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "text",
    "max_credits": 10
}'
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/voice-overs", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.IQCORE_KEY}`, "Idempotency-Key": crypto.randomUUID(), "Content-Type": "application/json" },
  body: JSON.stringify({
      "text": "text",
      "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/voice-overs",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "text": "text",
        "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"
}

Voice models

GET /voice-overs/models

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

The voice models of Generate Voice: id, name, premium and locked flags, languages, styles, voice ids, default voice, max characters and the credits of 1,000 characters. Pass a model id to get its voices with a short description each.

Parameters

  • model query integer — Only this model id, with its voices described. min 1 · max 2147483647
  • organization_id query string — The organization to act in. Required when the key works in several organizations.

Response 200

  • 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.
    • languages array of string | string required — The language codes to pass as `language`, or "auto" (the language follows the text).
    • styles array of string
    • voices array of string | object required — The voice ids; with `model`, objects {id, hint}.
    • default_voice string
    • max_chars integer required — Characters per request at most.
    • credits_per_1k_chars integer required

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/voice-overs/models" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/voice-overs/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/voice-overs/models",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "models": [
        {
            "id": 1,
            "name": "Summer sale",
            "default": false,
            "premium": false,
            "locked": false,
            "unavailable": false,
            "languages": [
                "language"
            ],
            "styles": [
                "style"
            ],
            "voices": [
                "voice"
            ],
            "default_voice": "default_voice",
            "max_chars": 1,
            "credits_per_1k_chars": 1
        }
    ]
}

Voice-over status

GET /voice-overs/{id}

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

One voice-over by its id (from voice_list or create_recent): status, text, voice, language, style, speed, model, credits reserved and charged, length, the audio as a Media library id, the reason of a failure and the times.

Parameters

  • id path string required — The voice-over 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 voice-over id (uuid).
  • status string required — queued, processing, completed, failed or cancelled.
  • text string — The text (shortened).
  • characters integer
  • voice string
  • language string
  • style string
  • model string
  • seconds number — The audio length.
  • credits_charged integer required
  • created_at string
  • reason string — Why it failed (failed only).
  • speed number
  • billing string — What the price is based on (characters, tokens, seconds).
  • credits_reserved integer
  • file string — The audio (Media library id, uuid).
  • file_deleted boolean — Present (true) when the audio was deleted from the Media library.
  • finished_at string

Errors: 400 401 403 404 422 429 500 — codes

Example

curl
curl "https://iqcore.ai/api/public/v1/voice-overs/<id>" \
  -H "Authorization: Bearer $IQCORE_KEY"
JavaScript
const res = await fetch("https://iqcore.ai/api/public/v1/voice-overs/<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/voice-overs/<id>",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"},
)
print(res.status_code, res.json())
json
{
    "id": "<id>",
    "status": "status",
    "text": "text",
    "characters": 1,
    "voice": "voice",
    "language": "language",
    "style": "style",
    "model": "model",
    "seconds": 1.5,
    "credits_charged": 1,
    "created_at": "2026-12-05T09:00:00Z",
    "reason": "reason",
    "speed": 1.5,
    "billing": "billing",
    "credits_reserved": 1,
    "file": "file",
    "file_deleted": false,
    "finished_at": "2026-12-05T09:00:00Z"
}

Delete a voice-over

DELETE /voice-overs/{id}

  • Operation voice_delete
  • Scope media.delete
  • Lowest role admin
  • Deletes (owner or admin)

Delete a voice-over (query parameter scope): list = remove it from the Voice list (the audio stays in the Media library), permanent = also delete the audio file. Runs at once; a voice-over still being made is refused. Credits are never touched.

Parameters

  • id path string required — The voice-over id (uuid). max length 64
  • scope query string required One of: list, permanent.
  • 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

  • message string required — A short sentence for a person.

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

Example

curl
curl -X DELETE "https://iqcore.ai/api/public/v1/voice-overs/<id>?scope=list" \
  -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/voice-overs/<id>?scope=list", {
  method: "DELETE",
  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.delete(
    "https://iqcore.ai/api/public/v1/voice-overs/<id>?scope=list",
    headers={"Authorization": f"Bearer {os.environ['IQCORE_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
    json={},
)
print(res.status_code, res.json())
json
{
    "message": "message"
}