Kuro Recipes API
The Recipes API from Kuro — 3 operation(s) for recipes.
The Recipes API from Kuro — 3 operation(s) for recipes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/meetkuro-com:meetkuro-com-recipes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Kuro Recipes API
version: 1.0.0
description: 'Make images, clips, voice-overs and music, and run recipes, from your own code. The same API serves Kuro Cloud and every studio you run yourself.
Authenticate with a personal token from Settings → Connections: `Authorization: Bearer KR_…`. A token minted with permissions works only here and at `/mcp`, and each operation names the permission it needs.
Generations run on your own provider keys at no credits when you hold one that can run them, exactly as in the app; otherwise they spend credits.
Webhooks: pass `webhook_url` (HTTPS) when you make a generation or run a recipe, and the server POSTs a `WebhookEvent` there when it settles: `generation.ready` or `generation.failed`, `run.done` or `run.failed`, and `run.asks_you` when a run waits on you. Each POST carries `webhook-id`, `webhook-timestamp` and `webhook-signature` (Standard Webhooks, HMAC-SHA256 with the signing secret from Settings → Connections); verify it, answer 2xx within ten seconds, and treat a repeated `webhook-id` as the same event. A refused or unanswered event is retried for a day.
Inside v1 changes are additive only: new fields, new operations, and new values in enums whose description says so. Ignore what you do not recognise.'
license:
name: AGPL-3.0-only
url: https://www.gnu.org/licenses/agpl-3.0.html
servers:
- url: https://api.meetkuro.com
security:
- token: []
tags:
- name: Recipes
paths:
/v1/recipes:
get:
operationId: listRecipes
summary: List recipes
description: 'The recipes you can run: the catalog and your own. Each says what it asks for.
Permission: `recipes.read`.'
tags:
- Recipes
parameters:
- name: type
in: query
required: false
schema:
type: string
enum:
- image
- clip
- voiceover
- music
- name: q
in: query
required: false
schema:
type: string
maxLength: 100
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: cursor
in: query
required: false
description: The `next_cursor` of the page before.
schema:
type: string
maxLength: 500
responses:
'200':
description: List recipes
content:
application/json:
schema:
type: object
properties:
object:
type: string
enum:
- list
data:
type: array
items:
$ref: '#/components/schemas/Recipe'
next_cursor:
type:
- string
- 'null'
description: Pass as `cursor` for the next page; null on the last one.
required:
- object
- data
- next_cursor
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'409':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
/v1/recipes/{id}:
get:
operationId: getRecipe
summary: Read a recipe
description: 'One recipe and every question it asks.
Permission: `recipes.read`.'
tags:
- Recipes
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Read a recipe
content:
application/json:
schema:
$ref: '#/components/schemas/Recipe'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'409':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
/v1/recipes/{id}/runs:
post:
operationId: runRecipe
summary: Run a recipe
description: 'Answers the recipe''s questions and starts it. An `arm` or `reprompt` recipe makes one generation; a `run` recipe starts a run you can read and cancel at `/v1/runs/{id}`. Pass `wait` to hold the response until it settles.
Permission: `generation.write`.'
tags:
- Recipes
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
- name: wait
in: query
required: false
description: Hold the response up to this many seconds until the work settles. 0 answers at once.
schema:
type: integer
minimum: 0
maximum: 60
default: 0
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
prompt:
type: string
maxLength: 4000
default: ''
description: The idea, in the words the recipe's `prompt` asks for.
inputs:
type: object
additionalProperties: {}
default: {}
description: 'By key. On an `arm` or `reprompt` recipe, each of its `inputs` takes a list of media (`{ "type": "upload", "upload_id" }`, `{ "type": "generation", "generation_id" }`) or one Subject (`{ "type": "subject", "subject_id" }`). On a `run` recipe, each of its `run_inputs` takes the value its type asks for.'
choices:
type: object
additionalProperties:
anyOf:
- type: string
- type: array
items:
type: string
default: {}
description: One option `value` per choice, by key; a list where `max_picks` is above one.
model:
type: string
maxLength: 80
description: Another model of the recipe's medium. Not for `run` recipes.
runs_on:
type: string
maxLength: 40
description: 'Who pays: "credits", or the vendor of one of your own keys ("replicate", "fal", …). Leave out to follow the payer order set in Settings → Agents.'
webhook_url:
type: string
maxLength: 2048
format: uri
description: Where to POST a signed event when this settles. HTTPS on the default port; see Webhooks in the API description.
responses:
'201':
description: Run a recipe
content:
application/json:
schema:
$ref: '#/components/schemas/RecipeRun'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'409':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
components:
schemas:
Run:
type: object
properties:
object:
type: string
enum:
- run
id:
type: string
format: uuid
status:
type: string
enum:
- queued
- running
- awaiting_approval
- paused
- succeeded
- failed
- canceled
description: '`succeeded`, `failed` and `canceled` are final. `awaiting_approval` and `paused` wait on you in the app (`app_url`). New values may be added.'
error:
type:
- object
- 'null'
properties:
code:
type:
- string
- 'null'
message:
type: string
required:
- code
- message
generations:
type: array
items:
$ref: '#/components/schemas/Generation'
description: Everything the run has made so far, in order.
created_at:
type: string
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
app_url:
type: string
format: uri
required:
- object
- id
- status
- error
- generations
- created_at
- completed_at
- app_url
description: 'One run of a `run` recipe: several steps, several generations.'
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: A stable machine-readable code, such as `INSUFFICIENT_CREDITS` or `RATE_LIMITED`.
message:
type: string
details: {}
required:
- code
- message
required:
- error
description: Every error has this shape.
Generation:
type: object
properties:
object:
type: string
enum:
- generation
id:
type: string
format: uuid
type:
type: string
enum:
- image
- clip
- voiceover
- music
- tool
description: What was made. New values may be added; treat an unknown one as opaque.
status:
type: string
enum:
- queued
- generating
- ready
- failed
description: '`ready` and `failed` are final.'
model:
type: string
description: The model id it was made with (`GET /v1/models`).
prompt:
type: string
aspect_ratio:
type:
- string
- 'null'
description: Null for audio.
output_url:
type:
- string
- 'null'
format: uri
description: The finished file, once `ready`. A signed link that works for about an hour; read the generation again for a fresh one.
thumbnail_url:
type:
- string
- 'null'
format: uri
description: A small still of the result, for a grid. Null for audio and while it works.
credits:
type:
- number
- 'null'
description: Credits charged. Zero when your own provider key or the free allowance paid.
paid_by:
type:
- string
- 'null'
description: 'Who paid: "credits", "house" (the free allowance), "server" (a server that charges nothing), or the vendor of your own key ("replicate", "fal", …).'
error:
type:
- string
- 'null'
description: Why it failed. Null otherwise.
ready_in_seconds:
type:
- number
- 'null'
description: Roughly how long an unfinished generation has left; 0 means past its usual time.
recipe_id:
type:
- string
- 'null'
format: uuid
description: The recipe it was made with, if any.
created_at:
type: string
format: date-time
app_url:
type: string
format: uri
description: Opens it in the app.
required:
- object
- id
- type
- status
- model
- prompt
- aspect_ratio
- output_url
- thumbnail_url
- credits
- paid_by
- error
- ready_in_seconds
- recipe_id
- created_at
- app_url
description: One image, clip, voice-over or piece of music.
Recipe:
type: object
properties:
object:
type: string
enum:
- recipe
id:
type: string
format: uuid
name:
type: string
description:
type: string
action:
type: string
enum:
- arm
- reprompt
- run
description: '`arm` makes one generation from your answers; `reprompt` does too, with a model writing the prompt from them; `run` starts a multi-step run (`GET /v1/runs/{id}`). New values may be added.'
type:
type: string
enum:
- image
- clip
- voiceover
- music
description: What it makes. New values may be added.
model:
type:
- string
- 'null'
description: The default model; null on a `run` recipe, whose steps choose their own.
recommended_models:
type: array
items:
type: string
description: Models its author tested. Any model of its medium that can take its inputs runs it too.
prompt:
type:
- object
- 'null'
properties:
label:
type: string
placeholder:
type: string
required:
type: boolean
max_length:
type: integer
required:
- label
- placeholder
- required
- max_length
description: What `prompt` asks for when you run it; null when it asks for none.
inputs:
type: array
items:
type: object
properties:
key:
type: string
label:
type: string
help:
type:
- string
- 'null'
media:
type: string
description: '"image", "video" or "audio".'
required:
type: boolean
max_items:
type: integer
takes_subject:
type: boolean
description: 'Whether this input takes one of your Subjects as `{ "type": "subject", "subject_id" }`.'
required:
- key
- label
- help
- media
- required
- max_items
- takes_subject
description: The media an `arm` or `reprompt` recipe takes, by key.
choices:
type: array
items:
type: object
properties:
key:
type: string
label:
type: string
help:
type:
- string
- 'null'
options:
type: array
items:
type: object
properties:
value:
type: string
label:
type: string
required:
- value
- label
max_picks:
type: integer
shown_when:
type:
- object
- 'null'
properties:
choice:
type: string
values:
type: array
items:
type: string
required:
- choice
- values
description: Asked only when that earlier choice holds one of these values.
required:
- key
- label
- help
- options
- max_picks
- shown_when
run_inputs:
type: array
items:
type: object
properties:
type:
type: string
key:
type: string
label:
type: string
required:
- type
- key
- label
description: What a `run` recipe takes, by key; empty on the others.
tags:
type: array
items:
type: string
uses:
type: integer
cover_url:
type:
- string
- 'null'
format: uri
app_url:
type: string
format: uri
required:
- object
- id
- name
- description
- action
- type
- model
- recommended_models
- prompt
- inputs
- choices
- run_inputs
- tags
- uses
- cover_url
- app_url
description: A template that asks a few questions and makes something.
RecipeRun:
type: object
properties:
object:
type: string
enum:
- recipe_run
recipe_id:
type: string
format: uuid
run:
allOf:
- $ref: '#/components/schemas/Run'
description: The run a `run` recipe started; null for `arm` and `reprompt`, which make one generation.
generations:
type: array
items:
$ref: '#/components/schemas/Generation'
description: 'What it made: the one generation, or what the run has made so far.'
required:
- object
- recipe_id
- run
- generations
description: What running a recipe started.
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: Any string up to 255 characters. Send the same value to retry a request without spending twice; a different body under a used key is refused with 409.
schema:
type: string
minLength: 1
maxLength: 255
responses:
Error:
description: The request was refused. `error.code` is stable; on 429, wait `Retry-After` seconds.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
token:
type: http
scheme: bearer
description: A personal token (`KR_…`) from Settings → Connections.