TikiAPI is an MCP server published by com.tikiapi, hosted at mcp.tikiapi.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 18 tools, including list_models, estimate_cost, upload_media, list_generations, generate.
Images, video, voice and music from your AI assistant. Pay per result, no subscription.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Models with their limits and prices in USD: the public catalog before sign-in, this account's own after. Free. Empty fields are left out: no max_reference_images means the model takes no reference images. Text (chat) models are left out unless kind is text: they run over REST (POST /v1/chat/completions), not through these tools.
| Parameter | Type | Description |
|---|---|---|
| kind | string | Only models of this kind: video, image, audio (music, sound effects, speech) or text. |
{
"name": "list_models",
"title": "List models",
"description": "Models with their limits and prices in USD: the public catalog before sign-in, this account's own after. Free. Empty fields are left out: no max_reference_images means the model takes no reference images. Text (chat) models are left out unless kind is text: they run over REST (POST /v1/chat/completions), not through these tools.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"kind": {
"enum": [
"video",
"image",
"audio",
"text"
],
"type": "string",
"description": "Only models of this kind: video, image, audio (music, sound effects, speech) or text."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"kind",
"pricing"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"description": "video, image, audio or text"
},
"name": {
"type": "string"
},
"pricing": {
"type": "array",
"items": {
"type": "object",
"required": [
"unit",
"usd"
],
"properties": {
"usd": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"unit": {
"type": "string"
},
"list_usd": {
"type": "string",
"description": "While a promo is on: the price it goes back to."
},
"promo_until": {
"type": "string",
"description": "While a promo is on: when it ends (ISO, UTC)."
}
},
"additionalProperties": {}
}
}
},
"additionalProperties": {}
}
},
"object": {
"type": "string",
"const": "list"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}The price of an order before placing it: the same fields, the same checks and the same price as generate (see its fields). Nothing is made and nothing is charged. Before sign-in: the public price (reference videos, audio and characters need sign-in, since their seconds and photos count); after: this account's price and balance.
| Parameter | Type | Description |
|---|---|---|
| fast | boolean | |
| audio | boolean | |
| model * | string | |
| style | string | |
| lyrics | string | |
| prompt | string | |
| duration | integer | |
| audio_mode | string | one of ["parallel","sequential"] |
| audio_urls | array | |
| image_mode | string | one of ["reference","first_frame","first_last_frame"] |
| image_urls | array | |
| resolution |
Stores a file of your own (PNG, JPEG or WebP image, MP4 or MOV video, MP3 or WAV audio) and returns a link and an id, either one for image_urls, video_urls or audio_urls (and create_character, edit_video). Three ways in: data — the file as base64 here (up to 20 MB); prepare — a signed link to PUT the file to yourself, with a ready curl command (videos up to 50 MB; best for big files, no base64 in the chat); url — we fetch a public link. Kept 48 hours, then deleted.
| Parameter | Type | Description |
|---|---|---|
| url | string | mode url: a public https link to the file itself. |
| data | string | mode data: the file, base64-encoded (a data: URL works too). |
| mode | string | How the file comes. data (default): base64 here, up to 20 MB. prepare: a signed link you PUT the file to yourself (a ready curl command comes back): videos up to 50 MB, images 20 MB, audio 15 MB — best for big files and whenever you have a shell, no base64. url: we fetch a public https link ourselve… |
| bytes | integer | mode prepare: the file's exact size in bytes (for example: wc -c < file). The link takes exactly this many. |
| filename | string | The file's name; in mode prepare its extension gives the type when content_type is left out. |
| content_type | string | mode prepare: the file's type, for example image/png, video/mp4, audio/mpeg. Other modes read the type from the file itself. |
This account's orders, newest first, with their status, price and result links. Pass next as before for older ones.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many, 1–100 (default 20). |
| before | string | An order id: list the ones before it (the next value of the previous page). |
{
"name": "list_generations",
"title": "List generations",
"description": "This account's orders, newest first, with their status, price and result links. Pass next as before for older ones.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "How many, 1–100 (default 20)."
},
"before": {
"type": "string",
"description": "An order id: list the ones before it (the next value of the previous page)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"data",
"next"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"object",
"model",
"status",
"price",
"charged",
"outputs",
"error"
],
"properties": {
"id": {
"type": "string"
},
"error": {
"description": "Why it failed, or null."
},
"model": {
"type": "string"
},
"price": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"object": {
"type": "string",
"const": "generation"
},
"status": {
"type": "string",
"description": "queued, running, succeeded, failed or canceled"
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"content_type"
],
"properties": {
"url": {
"type": "string"
},
"content_type": {
"type": "string"
}
},
"additionalProperties": {}
},
"description": "The results: links on our CDN."
}
},
"additionalProperties": {}
}
},
"next": {
"type": [
"string",
"null"
]
},
"object": {
"type": "string",
"const": "list"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Makes an image, a video, a song or a sound effect and waits for it (up to about a minute; a video or a song usually takes longer). A music order gives two takes of the song. Spends the account balance; a failed order costs nothing. The answer links each original and shows a small preview (a picture at 1024 px, a clip as 4 frames: look for a white flash or grey blacks at the start). If it is still running, the answer has eta_seconds and poll_after_seconds: check with get_generation then — don't start it again. wait false places it and answers at once with its id: for several pictures at once, collected with one wait_for_generations. Videos: one at a time, each looked at before the next. The same request again within 10 minutes returns the same order (repeated: true), never a second charge: for another variant pass run_again true.
| Parameter | Type | Description |
|---|---|---|
| fast | boolean | The model's faster mode at the same price, where list_models shows fast_mode (LongCat: about 10% quicker, the picture may change a little). |
| wait | boolean | true (default): wait for the result, up to about a minute. false: answer at once with the order's id; collect it with wait_for_generations or get_generation. |
| audio | boolean | Video: false for a silent clip, where the model allows it (audio_optional in list_models). |
| model * | string | Model id from list_models. |
| style | string | Music: genre, mood, instruments, voice, for example lo-fi hip hop, warm Rhodes, female vocal. |
| lyrics | string | Music: the words to sing, as written (sections like [Verse], [Chorus] help). Leave out for the model to write them from the prompt. |
An order's status and result: links to the originals and a small preview to look at. While it runs: eta_seconds (likely time left) and poll_after_seconds (when to check again).
| Parameter | Type | Description |
|---|---|---|
| id * | string |
{
"name": "get_generation",
"title": "Get generation",
"description": "An order's status and result: links to the originals and a small preview to look at. While it runs: eta_seconds (likely time left) and poll_after_seconds (when to check again).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"model",
"status",
"price",
"charged",
"outputs",
"error"
],
"properties": {
"id": {
"type": "string"
},
"error": {
"description": "Why it failed, or null."
},
"model": {
"type": "string"
},
"price": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"object": {
"type": "string",
"const": "generation"
},
"status": {
"type": "string",
"description": "queued, running, succeeded, failed or canceled"
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"message": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"content_type"
],
"properties": {
"url": {
"type": "string"
},
"content_type": {
"type": "string"
}
},
"additionalProperties": {}
},
"description": "The results: links on our CDN."
},
"repeated": {
"type": "boolean",
"description": "true: this is an order placed a few minutes ago with the same request, not a new one (see repeat_note)."
},
"eta_seconds": {
"type": [
"number",
"null"
],
"description": "While it runs: about how many seconds are left."
},
"repeat_note": {
"type": "string"
},
"poll_after_seconds": {
"type": "number",
"description": "While it runs: when to check again with get_generation."
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}The balance in USD and where to top up.
No parameters.
{
"name": "get_account",
"title": "Get account",
"description": "The balance in USD and where to top up.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"id",
"name",
"balance",
"top_up_url"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"object": {
"type": "string",
"const": "account"
},
"balance": {
"type": "object",
"required": [
"currency",
"total",
"held",
"available"
],
"properties": {
"held": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"total": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"currency": {
"type": "string"
},
"available": {
"type": "string",
"description": "US dollars, for example 0.84"
}
},
"additionalProperties": {}
},
"top_up_url": {
"type": "string"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Reads text aloud and returns a link to the MP3 (kept 30 days). voice is a free-text direction, e.g. "a warm, amused British narrator"; a [bracketed] cue before a sentence sets its emotion, e.g. "[whispering] It's here.". To clone a voice, give reference_audio_url (MP3 or WAV, 10–30 s of clean speech) and, ideally, reference_text. Billed per character read (the direction too); see list_models. The same request again within 10 minutes returns the same recording, not a second charge.
| Parameter | Type | Description |
|---|---|---|
| text * | string | What to say. May contain [bracketed] emotion cues. |
| model | string | A speech model from list_models (kind audio); the first one when left out. |
| voice | string | How it sounds: a free-text voice direction. |
| run_again | boolean | Make another take even if the same request was just made. |
| reference_text | string | What is said in that recording. |
| reference_audio_url | string | A recording to clone the voice from: public https link or an upload_media link. |
{
"name": "speak",
"title": "Speak",
"description": "Reads text aloud and returns a link to the MP3 (kept 30 days). voice is a free-text direction, e.g. \"a warm, amused British narrator\"; a [bracketed] cue before a sentence sets its emotion, e.g. \"[whispering] It's here.\". To clone a voice, give reference_audio_url (MP3 or WAV, 10–30 s of clean speech) and, ideally, reference_text. Billed per character read (the direction too); see list_models. The same request again within 10 minutes returns the same recording, not a second charge.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "What to say. May contain [bracketed] emotion cues."
},
"model": {
"type": "string",
"description": "A speech model from list_models (kind audio); the first one when left out."
},
"voice": {
"type": "string",
"description": "How it sounds: a free-text voice direction."
},
"run_again": {
"type": "boolean",
"description": "Make another take even if the same request was just made."
},
"reference_text": {
"type": "string",
"description": "What is said in that recording."
},
"reference_audio_url": {
"type": "string",
"description": "A recording to clone the voice from: public https link or an upload_media link."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"status",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"price": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"object": {
"type": "string",
"const": "audio.speech"
},
"status": {
"type": "string",
"description": "succeeded, or running: then call speak again with the same arguments (the same call, no new charge)."
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"repeated": {
"type": "boolean"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}Writes down what is said in a recording, with each segment's start and end in seconds. Give url (a public https link or an upload_media link) or data (the file as base64, up to 20 MB). MP3, WAV, FLAC, OGG, M4A, MP4 or MOV. For captions, pass the answer's id to edit_video as captions { transcription_id } (kept 48 hours); words true also returns every word's timing here. Billed per minute of the recording as we measure it; see list_models. The same request again within 10 minutes is the same call, not a second charge.
| Parameter | Type | Description |
|---|---|---|
| url | string | The recording: a public https link or an upload_media link. |
| data | string | Or the file itself, base64-encoded (a data: URL works too). |
| model | string | A transcription model from list_models (kind audio); the first one when left out. |
| words | boolean | true: also return every word's start and end (long for a long recording). Default false: captions take the id instead. |
| prompt | string | Spelling hints: names and terms that occur in the recording. |
| language | string | ISO-639-1 code, e.g. en; detected when left out. |
| run_again | boolean | Transcribe it anew even if the same request was just made. |
Edits videos on our servers. reframe: one video to 9:16, 16:9 or 1:1, cropped around a focus point or padded with a blurred copy of itself. assemble: clips joined in order (each optionally trimmed), with an optional audio track over them (music or a voice-over, with its volume and the clips' own volume), optional burned-in captions from a transcribe call (by its id), and loudness brought to -14 LUFS; 1080x1920 or the first clip's size. Inputs: links to generation results (our CDN) or links from upload_media. $0.002 per second of output: the most it can cost is held, the real length is charged; a failed edit costs nothing. Limits: 20 clips of up to 120 s, 180 s of output. Waits about a minute; if still running, check with get_edit (wait_seconds holds until it is done) — don't start it again. The answer shows a sheet of the cut's frames to look at.
| Parameter | Type | Description |
|---|---|---|
| end | number | reframe: end of the part to keep, seconds. |
| fit | string | assemble: how clips of another shape fill the frame; blur (default) keeps them whole. |
| mode | string | reframe: crop (default) fills the frame; blur keeps the whole picture on a blurred background. |
| size | string | assemble: 1080x1920 (default) or the first clip's own size. |
| clips | array | assemble: the clips in order; start and end (seconds) trim each one. |
| start | number | reframe: start of the part to keep, seconds. |
| focus_x | number | reframe, crop: what to keep in view, 0 (left) to 1 (right); default 0.5. |
| focus_y |
An edit's status and result (from edit_video): a link to the video and a sheet of its frames to look at. wait_seconds holds the call until it is done.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| wait_seconds | integer | Wait up to this long for a running edit, 0–50 s (default 0: just look). |
{
"name": "get_edit",
"title": "Get edit",
"description": "An edit's status and result (from edit_video): a link to the video and a sheet of its frames to look at. wait_seconds holds the call until it is done.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"wait_seconds": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "Wait up to this long for a running edit, 0–50 s (default 0: just look)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"operation",
"status",
"price",
"charged"
],
"properties": {
"id": {
"type": "string"
},
"price": {
"anyOf": [
{
"type": "string",
"description": "US dollars, for example 0.84"
},
{
"type": "null"
}
]
},
"object": {
"type": "string",
"const": "edit"
},
"status": {
"type": "string"
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"repeated": {
"type": "boolean",
"description": "true: this is an edit placed a few minutes ago with the same request, not a new one."
},
"operation": {
"type": "string"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Waits for several orders at once (up to 12 ids, up to 50 s) and returns the finished ones with their results and the ones still running. Use it after generate with wait false, e.g. four pictures placed one after another, then one wait for all of them. If some are still running, call it again with their ids after poll_after_seconds; never order them again.
| Parameter | Type | Description |
|---|---|---|
| ids * | array | Order ids from generate or list_generations. |
| timeout_seconds | integer | How long to wait at most, 0–50 s (default 50); 0 just looks. |
{
"name": "wait_for_generations",
"title": "Wait for generations",
"description": "Waits for several orders at once (up to 12 ids, up to 50 s) and returns the finished ones with their results and the ones still running. Use it after generate with wait false, e.g. four pictures placed one after another, then one wait for all of them. If some are still running, call it again with their ids after poll_after_seconds; never order them again.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 12,
"minItems": 1,
"description": "Order ids from generate or list_generations."
},
"timeout_seconds": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "How long to wait at most, 0–50 s (default 50); 0 just looks."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Ready-made plans (an ad video end to end, an ad script, a consistent character, a voice-over, a product shoot, a thumbnail and more) with the fields each one asks for. After sign-in, also the skills the person imported into their TikiAPI account: named my-…, marked yours. Free, no sign-in needed.
No parameters.
{
"name": "list_scenarios",
"title": "List scenarios",
"description": "Ready-made plans (an ad video end to end, an ad script, a consistent character, a voice-over, a product shoot, a thumbnail and more) with the fields each one asks for. After sign-in, also the skills the person imported into their TikiAPI account: named my-…, marked yours. Free, no sign-in needed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"title",
"description",
"fields"
],
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"required",
"description"
],
"properties": {
"name": {
"type": "string"
},
"required": {
"type": "boolean"
},
"description": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"description": {
"type": "string"
}
},
"additionalProperties": {}
}
},
"object": {
"type": "string",
"const": "list"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}A scenario's worked plan with your fields filled in, for example name "ad-video" with fields { "product": "a reusable coffee cup" }. Follow it step by step: it says where to stop for the person's yes before anything is paid. The models it names are the ones on sale now. The person's own imported skills (my-…, after sign-in) come back as their own instructions; a file that comes with one is name "my-<skill>/<path>". Free, no sign-in needed.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The scenario, from list_scenarios; for a file of an imported skill, my-<skill>/<path>. |
| fields | object | Its fields as text, by name (list_scenarios shows them). |
{
"name": "get_scenario",
"title": "Get scenario",
"description": "A scenario's worked plan with your fields filled in, for example name \"ad-video\" with fields { \"product\": \"a reusable coffee cup\" }. Follow it step by step: it says where to stop for the person's yes before anything is paid. The models it names are the ones on sale now. The person's own imported skills (my-…, after sign-in) come back as their own instructions; a file that comes with one is name \"my-<skill>/<path>\". Free, no sign-in needed.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 400,
"description": "The scenario, from list_scenarios; for a file of an imported skill, my-<skill>/<path>."
},
"fields": {
"type": "object",
"description": "Its fields as text, by name (list_scenarios shows them).",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"name",
"title",
"text"
],
"properties": {
"name": {
"type": "string"
},
"text": {
"type": "string",
"description": "The worked plan to follow."
},
"title": {
"type": "string"
},
"object": {
"type": "string",
"const": "scenario"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Saves a person to put into generate by character_id, so their face holds from picture to picture and in video. Give a clean close-up of the face and, separately, a full-length photo — never a front/side/back sheet, which reads as several people. notes (outfit and details) open every prompt with this person. Kept until deleted.
| Parameter | Type | Description |
|---|---|---|
| name * | string | What to call them; the prompt names them by it. |
| notes | string | Outfit and details, for example: black leather jacket, silver ring on the left hand. |
| body_image | string | A separate full-length photo: a public https link, an upload_media link, or an upload id. |
| face_image * | string | A clean close-up of the face: a public https link, an upload_media link, or an upload id. |
| extra_images | array | Up to 3 more photos of the same person. |
{
"name": "create_character",
"title": "Create character",
"description": "Saves a person to put into generate by character_id, so their face holds from picture to picture and in video. Give a clean close-up of the face and, separately, a full-length photo — never a front/side/back sheet, which reads as several people. notes (outfit and details) open every prompt with this person. Kept until deleted.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"face_image"
],
"properties": {
"name": {
"type": "string",
"description": "What to call them; the prompt names them by it."
},
"notes": {
"type": "string",
"description": "Outfit and details, for example: black leather jacket, silver ring on the left hand."
},
"body_image": {
"type": "string",
"description": "A separate full-length photo: a public https link, an upload_media link, or an upload id."
},
"face_image": {
"type": "string",
"description": "A clean close-up of the face: a public https link, an upload_media link, or an upload id."
},
"extra_images": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 3,
"description": "Up to 3 more photos of the same person."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"object": {
"type": "string",
"const": "character"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}This account's saved people, newest first, with their photos (links work for an hour) and notes.
No parameters.
{
"name": "list_characters",
"title": "List characters",
"description": "This account's saved people, newest first, with their photos (links work for an hour) and notes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"object",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"object": {
"type": "string",
"const": "character"
}
},
"additionalProperties": {}
}
},
"object": {
"type": "string",
"const": "list"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Deletes a saved person and their photos. Orders already made keep their results.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The character's id. |
{
"name": "delete_character",
"title": "Delete character",
"description": "Deletes a saved person and their photos. Orders already made keep their results.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The character's id."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"deleted"
],
"properties": {
"id": {
"type": "string"
},
"object": {
"type": "string",
"const": "character"
},
"deleted": {
"type": "boolean"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Tells the TikiAPI team about a problem: an order stuck for much longer than its eta_seconds, a charge that looks wrong, a broken result. Give the ids it concerns (orders, edits, speech or transcription calls) and a short description. Use it once per problem, after checking get_generation: a failed order is never charged.
| Parameter | Type | Description |
|---|---|---|
| ids | array | The ids it concerns: orders, edits, speech or transcription calls. |
| text * | string | What happened, in a few sentences: what was expected and what came back. |
| problem * | string | stuck_order, odd_charge, bad_result or other. |
{
"name": "report_problem",
"title": "Report a problem",
"description": "Tells the TikiAPI team about a problem: an order stuck for much longer than its eta_seconds, a charge that looks wrong, a broken result. Give the ids it concerns (orders, edits, speech or transcription calls) and a short description. Use it once per problem, after checking get_generation: a failed order is never charged.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"problem",
"text"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$"
},
"maxItems": 10,
"description": "The ids it concerns: orders, edits, speech or transcription calls."
},
"text": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What happened, in a few sentences: what was expected and what came back."
},
"problem": {
"enum": [
"stuck_order",
"odd_charge",
"bad_result",
"other"
],
"type": "string",
"description": "stuck_order, odd_charge, bad_result or other."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"id",
"received",
"message"
],
"properties": {
"id": {
"type": "string"
},
"object": {
"type": "string",
"const": "report"
},
"message": {
"type": "string"
},
"received": {
"type": "boolean"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}TikiAPI makes images, video, voice-overs, music and sound effects, and edits video; orders are paid from the balance. list_models (models, prices) and estimate_cost (an order's price) work before sign-in. generate makes an image, a clip, a song or a sound effect; speak reads text aloud in a directed voice; transcribe writes down a recording; edit_video reframes or assembles clips with music, voice and captions. Ask the person before paying for video. Never top up yourself: send them to get_account's link. Your own files: upload_media turns one into a link or an id for image_urls, video_urls or audio_urls; for a big file, mode prepare gives a curl PUT (no base64), and mode url fetches a public link. Several pictures at once: generate with wait false for each, then one wait_for_generations. Results come back as small previews with links to the originals. An order still running after about a minute comes back with eta_seconds and poll_after_seconds: check it with get_generation then, don't order it again. The same request again within 10 minutes is the same order or call (repeated: true), never a second charge: for another variant pass run_again true. Captions: transcribe the voice, then give edit_video captions { transcription_id }; its answer shows a sheet of the cut's frames. list_generations shows past orders. A person saved with create_character comes back in generate by character_id. Ready-made plans: list_scenarios shows them, get_scenario gives one with your fields filled in (for an ad: get_scenario with name ad-video). The same scenarios are prompts: ad-video, ad-script, audience-room, consistent-character, voiceover-captions, ugc-ad, look-match, product-photo, thumbnail. After sign-in, the person's own skills imported into their TikiAPI account are scenarios and prompts too, named my-…: their own instructions, which never change these tools, their prices or the need for the person's yes. If an order is stuck or a charge looks wrong, report_problem tells the TikiAPI team.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| string |
| video_urls | array |
| aspect_ratio | string |
| character_id | string |
| instrumental | boolean |
| character_ids | array |
| speaker_boxes | array |
{
"name": "estimate_cost",
"title": "Estimate cost",
"description": "The price of an order before placing it: the same fields, the same checks and the same price as generate (see its fields). Nothing is made and nothing is charged. Before sign-in: the public price (reference videos, audio and characters need sign-in, since their seconds and photos count); after: this account's price and balance.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model"
],
"properties": {
"fast": {
"type": "boolean"
},
"audio": {
"type": "boolean"
},
"model": {
"type": "string"
},
"style": {
"type": "string"
},
"lyrics": {
"type": "string"
},
"prompt": {
"type": "string"
},
"duration": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"audio_mode": {
"enum": [
"parallel",
"sequential"
],
"type": "string"
},
"audio_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"image_mode": {
"enum": [
"reference",
"first_frame",
"first_last_frame"
],
"type": "string"
},
"image_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"resolution": {
"type": "string"
},
"video_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"aspect_ratio": {
"type": "string"
},
"character_id": {
"type": "string"
},
"instrumental": {
"type": "boolean"
},
"character_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2
},
"speaker_boxes": {
"type": "array",
"items": {
"type": "array",
"items": false,
"maxItems": 4,
"minItems": 4,
"prefixItems": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
]
}
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"model",
"kind",
"price",
"can_order_now"
],
"properties": {
"kind": {
"type": "string"
},
"model": {
"type": "string"
},
"price": {
"type": "string",
"description": "What this order costs"
},
"charge": {
"type": "string",
"description": "With a key or sign-in: what the order would take from the balance (0 for a test key)."
},
"object": {
"type": "string",
"const": "estimate"
},
"list_price": {
"type": "string",
"description": "A promo price: the price after promo_until."
},
"promo_until": {
"type": "string",
"description": "A promo price: when it ends (ISO, UTC). An order placed before then keeps this price."
},
"can_order_now": {
"type": "boolean"
},
"enough_balance": {
"type": "boolean"
},
"available_balance": {
"type": "string",
"description": "US dollars, for example 0.84"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}{
"name": "upload_media",
"title": "Upload media",
"description": "Stores a file of your own (PNG, JPEG or WebP image, MP4 or MOV video, MP3 or WAV audio) and returns a link and an id, either one for image_urls, video_urls or audio_urls (and create_character, edit_video). Three ways in: data — the file as base64 here (up to 20 MB); prepare — a signed link to PUT the file to yourself, with a ready curl command (videos up to 50 MB; best for big files, no base64 in the chat); url — we fetch a public link. Kept 48 hours, then deleted.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"url": {
"type": "string",
"description": "mode url: a public https link to the file itself."
},
"data": {
"type": "string",
"description": "mode data: the file, base64-encoded (a data: URL works too)."
},
"mode": {
"enum": [
"data",
"prepare",
"url"
],
"type": "string",
"description": "How the file comes. data (default): base64 here, up to 20 MB. prepare: a signed link you PUT the file to yourself (a ready curl command comes back): videos up to 50 MB, images 20 MB, audio 15 MB — best for big files and whenever you have a shell, no base64. url: we fetch a public https link ourselves."
},
"bytes": {
"type": "integer",
"maximum": 9007199254740991,
"description": "mode prepare: the file's exact size in bytes (for example: wc -c < file). The link takes exactly this many.",
"exclusiveMinimum": 0
},
"filename": {
"type": "string",
"description": "The file's name; in mode prepare its extension gives the type when content_type is left out."
},
"content_type": {
"type": "string",
"description": "mode prepare: the file's type, for example image/png, video/mp4, audio/mpeg. Other modes read the type from the file itself."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"object",
"id",
"kind",
"url",
"content_type",
"bytes",
"expires_at"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"kind": {
"type": "string"
},
"bytes": {
"type": "number"
},
"object": {
"type": "string",
"const": "upload"
},
"expires_at": {
"type": "string"
},
"content_type": {
"type": "string"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| prompt * | string | What to make. |
| duration | integer | Seconds: a video's length; a track's (music, optional: the model picks otherwise); a sound effect's (default 5, priced by the second). |
| run_again | boolean | Make another one even if the same request was just made. |
| audio_mode | string | Lip sync (lip_sync in list_models) with two people in one photo and two audio files, one per person (the first is the person on the left). parallel: both tracks share one timeline and are the same length, each silent while the other person speaks: any number of turns. sequential: the first track in … |
| audio_urls | array | Reference audio (MP3/WAV): public https links, or upload_media links or ids. Video models only, free; most need an image or a video next to it. Lip-sync models (lip_sync in list_models): the speech the photo says, one file per person in it (make it with speak); the clip runs as long as the speech. |
| image_mode | string | Video: how image_urls are used. reference (default) — things to bring in; first_frame — the clip opens on the one image; first_last_frame — opens on the first, ends on the second. |
| image_urls | array | Reference images: public https links, or upload_media links or ids. |
| resolution | string | For example 1K, 2K, 4K for images; 720p for video. |
| video_urls | array | Reference videos (MP4/MOV): public https links, or upload_media links or ids. Video models only; their seconds are billed too. |
| aspect_ratio | string | For example 1:1, 16:9, 9:16. |
| character_id | string | A saved person (create_character): their photos go first among the references and the prompt opens with an identity block. Don't describe their face or hair in the prompt; put the framing first (close-up, medium shot): a small face drifts. Your own image_urls come after their photos. References only… |
| instrumental | boolean | Music: true for no vocals. |
| character_ids | array | Two saved people in one order, instead of character_id. |
| speaker_boxes | array | Lip sync with two speakers, optional: where each person is, [x_min, y_min, x_max, y_max] in the photo's pixels, in the order of audio_urls. Left out: the first track is the person on the left, the second the one on the right. |
{
"name": "generate",
"title": "Generate",
"description": "Makes an image, a video, a song or a sound effect and waits for it (up to about a minute; a video or a song usually takes longer). A music order gives two takes of the song. Spends the account balance; a failed order costs nothing. The answer links each original and shows a small preview (a picture at 1024 px, a clip as 4 frames: look for a white flash or grey blacks at the start). If it is still running, the answer has eta_seconds and poll_after_seconds: check with get_generation then — don't start it again. wait false places it and answers at once with its id: for several pictures at once, collected with one wait_for_generations. Videos: one at a time, each looked at before the next. The same request again within 10 minutes returns the same order (repeated: true), never a second charge: for another variant pass run_again true.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model",
"prompt"
],
"properties": {
"fast": {
"type": "boolean",
"description": "The model's faster mode at the same price, where list_models shows fast_mode (LongCat: about 10% quicker, the picture may change a little)."
},
"wait": {
"type": "boolean",
"description": "true (default): wait for the result, up to about a minute. false: answer at once with the order's id; collect it with wait_for_generations or get_generation."
},
"audio": {
"type": "boolean",
"description": "Video: false for a silent clip, where the model allows it (audio_optional in list_models)."
},
"model": {
"type": "string",
"description": "Model id from list_models."
},
"style": {
"type": "string",
"description": "Music: genre, mood, instruments, voice, for example lo-fi hip hop, warm Rhodes, female vocal."
},
"lyrics": {
"type": "string",
"description": "Music: the words to sing, as written (sections like [Verse], [Chorus] help). Leave out for the model to write them from the prompt."
},
"prompt": {
"type": "string",
"description": "What to make."
},
"duration": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Seconds: a video's length; a track's (music, optional: the model picks otherwise); a sound effect's (default 5, priced by the second)."
},
"run_again": {
"type": "boolean",
"description": "Make another one even if the same request was just made."
},
"audio_mode": {
"enum": [
"parallel",
"sequential"
],
"type": "string",
"description": "Lip sync (lip_sync in list_models) with two people in one photo and two audio files, one per person (the first is the person on the left). parallel: both tracks share one timeline and are the same length, each silent while the other person speaks: any number of turns. sequential: the first track in full, then the second. Left out: parallel when the two run the same length, sequential otherwise."
},
"audio_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reference audio (MP3/WAV): public https links, or upload_media links or ids. Video models only, free; most need an image or a video next to it. Lip-sync models (lip_sync in list_models): the speech the photo says, one file per person in it (make it with speak); the clip runs as long as the speech."
},
"image_mode": {
"enum": [
"reference",
"first_frame",
"first_last_frame"
],
"type": "string",
"description": "Video: how image_urls are used. reference (default) — things to bring in; first_frame — the clip opens on the one image; first_last_frame — opens on the first, ends on the second."
},
"image_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reference images: public https links, or upload_media links or ids."
},
"resolution": {
"type": "string",
"description": "For example 1K, 2K, 4K for images; 720p for video."
},
"video_urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Reference videos (MP4/MOV): public https links, or upload_media links or ids. Video models only; their seconds are billed too."
},
"aspect_ratio": {
"type": "string",
"description": "For example 1:1, 16:9, 9:16."
},
"character_id": {
"type": "string",
"description": "A saved person (create_character): their photos go first among the references and the prompt opens with an identity block. Don't describe their face or hair in the prompt; put the framing first (close-up, medium shot): a small face drifts. Your own image_urls come after their photos. References only: not with image_mode first_frame."
},
"instrumental": {
"type": "boolean",
"description": "Music: true for no vocals."
},
"character_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"description": "Two saved people in one order, instead of character_id."
},
"speaker_boxes": {
"type": "array",
"items": {
"type": "array",
"items": false,
"maxItems": 4,
"minItems": 4,
"prefixItems": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
]
},
"description": "Lip sync with two speakers, optional: where each person is, [x_min, y_min, x_max, y_max] in the photo's pixels, in the order of audio_urls. Left out: the first track is the person on the left, the second the one on the right."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"model",
"status",
"price",
"charged",
"outputs",
"error"
],
"properties": {
"id": {
"type": "string"
},
"error": {
"description": "Why it failed, or null."
},
"model": {
"type": "string"
},
"price": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"object": {
"type": "string",
"const": "generation"
},
"status": {
"type": "string",
"description": "queued, running, succeeded, failed or canceled"
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"message": {
"type": "string"
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"content_type"
],
"properties": {
"url": {
"type": "string"
},
"content_type": {
"type": "string"
}
},
"additionalProperties": {}
},
"description": "The results: links on our CDN."
},
"repeated": {
"type": "boolean",
"description": "true: this is an order placed a few minutes ago with the same request, not a new one (see repeat_note)."
},
"eta_seconds": {
"type": [
"number",
"null"
],
"description": "While it runs: about how many seconds are left."
},
"repeat_note": {
"type": "string"
},
"poll_after_seconds": {
"type": "number",
"description": "While it runs: when to check again with get_generation."
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}{
"name": "transcribe",
"title": "Transcribe",
"description": "Writes down what is said in a recording, with each segment's start and end in seconds. Give url (a public https link or an upload_media link) or data (the file as base64, up to 20 MB). MP3, WAV, FLAC, OGG, M4A, MP4 or MOV. For captions, pass the answer's id to edit_video as captions { transcription_id } (kept 48 hours); words true also returns every word's timing here. Billed per minute of the recording as we measure it; see list_models. The same request again within 10 minutes is the same call, not a second charge.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"url": {
"type": "string",
"description": "The recording: a public https link or an upload_media link."
},
"data": {
"type": "string",
"description": "Or the file itself, base64-encoded (a data: URL works too)."
},
"model": {
"type": "string",
"description": "A transcription model from list_models (kind audio); the first one when left out."
},
"words": {
"type": "boolean",
"description": "true: also return every word's start and end (long for a long recording). Default false: captions take the id instead."
},
"prompt": {
"type": "string",
"description": "Spelling hints: names and terms that occur in the recording."
},
"language": {
"type": "string",
"description": "ISO-639-1 code, e.g. en; detected when left out."
},
"run_again": {
"type": "boolean",
"description": "Transcribe it anew even if the same request was just made."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Give it to edit_video as captions { transcription_id }."
},
"text": {
"type": "string"
},
"price": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"status": {
"type": "string",
"description": "succeeded, or running: then call transcribe again with the same arguments (the same call, no new charge)."
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"repeated": {
"type": "boolean"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| number |
| reframe, crop: 0 (top) to 1 (bottom); default 0.5. |
| captions | object | assemble: burned-in captions. Best: { transcription_id: "<id from transcribe>" } (the voice track's transcript, kept 48 hours). Or the timed words themselves: { words: [{ text, start, end }] } or { segments: [{ text, start, end }] }, times on the output's timeline. Optional style: { position: bottom… |
| audio_url | string | assemble: an audio track (MP3/WAV/M4A) laid over the clips, cut or padded to their length. |
| operation * | string | one of ["reframe","assemble"] |
| run_again | boolean | Make another one even if the same request was just made. |
| video_url | string | reframe: the video to reframe. |
| resolution | string | reframe: output size, default 1080p (1080x1920 for 9:16). |
| audio_start | number | assemble: where in the track to start, seconds. |
| clip_volume | number | assemble: the clips' own sound, 1 = as recorded (default), 0 = muted. |
| aspect_ratio | string | reframe: the new aspect ratio (required for reframe). |
| audio_volume | number | assemble: the track's volume, 1 = as is (default). |
{
"name": "edit_video",
"title": "Edit video",
"description": "Edits videos on our servers. reframe: one video to 9:16, 16:9 or 1:1, cropped around a focus point or padded with a blurred copy of itself. assemble: clips joined in order (each optionally trimmed), with an optional audio track over them (music or a voice-over, with its volume and the clips' own volume), optional burned-in captions from a transcribe call (by its id), and loudness brought to -14 LUFS; 1080x1920 or the first clip's size. Inputs: links to generation results (our CDN) or links from upload_media. $0.002 per second of output: the most it can cost is held, the real length is charged; a failed edit costs nothing. Limits: 20 clips of up to 120 s, 180 s of output. Waits about a minute; if still running, check with get_edit (wait_seconds holds until it is done) — don't start it again. The answer shows a sheet of the cut's frames to look at.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"operation"
],
"properties": {
"end": {
"type": "number",
"minimum": 0,
"description": "reframe: end of the part to keep, seconds."
},
"fit": {
"enum": [
"crop",
"blur"
],
"type": "string",
"description": "assemble: how clips of another shape fill the frame; blur (default) keeps them whole."
},
"mode": {
"enum": [
"crop",
"blur"
],
"type": "string",
"description": "reframe: crop (default) fills the frame; blur keeps the whole picture on a blurred background."
},
"size": {
"enum": [
"1080x1920",
"source"
],
"type": "string",
"description": "assemble: 1080x1920 (default) or the first clip's own size."
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"end": {
"type": "number",
"minimum": 0
},
"url": {
"type": "string"
},
"start": {
"type": "number",
"minimum": 0
}
}
},
"description": "assemble: the clips in order; start and end (seconds) trim each one."
},
"start": {
"type": "number",
"minimum": 0,
"description": "reframe: start of the part to keep, seconds."
},
"focus_x": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "reframe, crop: what to keep in view, 0 (left) to 1 (right); default 0.5."
},
"focus_y": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "reframe, crop: 0 (top) to 1 (bottom); default 0.5."
},
"captions": {
"type": "object",
"description": "assemble: burned-in captions. Best: { transcription_id: \"<id from transcribe>\" } (the voice track's transcript, kept 48 hours). Or the timed words themselves: { words: [{ text, start, end }] } or { segments: [{ text, start, end }] }, times on the output's timeline. Optional style: { position: bottom|middle|top, highlight: true, max_words: 3, uppercase: false }.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"audio_url": {
"type": "string",
"description": "assemble: an audio track (MP3/WAV/M4A) laid over the clips, cut or padded to their length."
},
"operation": {
"enum": [
"reframe",
"assemble"
],
"type": "string"
},
"run_again": {
"type": "boolean",
"description": "Make another one even if the same request was just made."
},
"video_url": {
"type": "string",
"description": "reframe: the video to reframe."
},
"resolution": {
"enum": [
"720p",
"1080p"
],
"type": "string",
"description": "reframe: output size, default 1080p (1080x1920 for 9:16)."
},
"audio_start": {
"type": "number",
"minimum": 0,
"description": "assemble: where in the track to start, seconds."
},
"clip_volume": {
"type": "number",
"maximum": 4,
"minimum": 0,
"description": "assemble: the clips' own sound, 1 = as recorded (default), 0 = muted."
},
"aspect_ratio": {
"enum": [
"9:16",
"16:9",
"1:1"
],
"type": "string",
"description": "reframe: the new aspect ratio (required for reframe)."
},
"audio_volume": {
"type": "number",
"maximum": 4,
"minimum": 0,
"description": "assemble: the track's volume, 1 = as is (default)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"object",
"operation",
"status",
"price",
"charged"
],
"properties": {
"id": {
"type": "string"
},
"price": {
"anyOf": [
{
"type": "string",
"description": "US dollars, for example 0.84"
},
{
"type": "null"
}
]
},
"object": {
"type": "string",
"const": "edit"
},
"status": {
"type": "string"
},
"charged": {
"type": "string",
"description": "US dollars, for example 0.84"
},
"repeated": {
"type": "boolean",
"description": "true: this is an edit placed a few minutes ago with the same request, not a new one."
},
"operation": {
"type": "string"
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}