Wandura AI Models API
The Models API from Wandura AI, for models.
The Models API from Wandura AI, for models.
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/wandura-ai:wandura-ai-models-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: Wandura Jobs Models API
version: '1'
description: Async image and video generation by style. POST /v2/jobs -> 202 {job_id}; get the result by signed webhook (webhook_url) or by polling GET /v2/jobs/{job_id}. Failed, timed-out, cancelled and moderation-blocked jobs are not charged.
servers:
- url: https://api.wandura.ai
description: 'Production (region sin1, Singapore). Test keys (wdr_test_…) are the sandbox: same API, a sample file, $0.'
security:
- bearer: []
tags:
- name: Models
paths:
/v2/models:
get:
operationId: listModels
summary: 'Models (versioned): one per output kind over the styles, plus workflows that…'
description: 'Rolling out (API www): only while Wandura has raw models on; until then the Jobs API answers as without them. The raw models (type raw) come after Wandura''s own models: every model the Wandura app sells, with its name, vendor, task, the fields it takes and its price per unit at your org''s price. The filters and paging below are read only then.'
parameters:
- in: query
name: output
required: false
schema:
type: string
enum:
- image
- video
- audio
description: 'Rolling out: only the models of this output.'
- in: query
name: q
required: false
schema:
type: string
description: 'Rolling out: only the models with these words (any case) in their id, name, vendor, task or description.'
- in: query
name: group
required: false
schema:
type: string
pattern: ^[A-H][1-5]?$
description: 'Rolling out: only the raw models of this group: A make images, B edit images, C make video, D edit video, E talking avatar, F audio; a part such as B2 (people) narrows it.'
- in: query
name: view
required: false
schema:
type: string
enum:
- summary
description: 'Rolling out: summary keeps each model''s id, object, type, name, vendor, task, group, output, description, unit and price (GET /v2/models/{id} has the rest).'
- in: query
name: limit
required: false
schema:
type: integer
minimum: 1
maximum: 200
default: 50
description: 'Rolling out: a page of this many; the answer then has total and has_more.'
- in: query
name: offset
required: false
schema:
type: integer
minimum: 0
default: 0
description: 'Rolling out: skip this many (with limit).'
responses:
'200':
description: Models.
content:
application/json:
schema:
type: object
properties:
object:
const: list
data:
type: array
items:
$ref: '#/components/schemas/Model'
total:
type: integer
description: 'With limit or offset: how many models match.'
has_more:
type: boolean
description: 'With limit or offset: another page follows.'
'401':
$ref: '#/components/responses/JobsApiErrorResponse'
'422':
$ref: '#/components/responses/JobsApiErrorResponse'
tags:
- Models
/v2/models/{model_id}:
get:
operationId: getModel
summary: One model
parameters:
- in: path
name: model_id
required: true
schema:
type: string
enum:
- wandura-image-v1
- wandura-video-v1
- wandura-c1-1
- wandura-video-upscale-v1
- wandura-video-edit-v1
- wandura-transcribe-v1
- wandura-object-remove-v1
- wandura-video-ai-edit-v1
- wandura-background-remove-v1
- wandura-sound-effects-v1
- wandura-video-extend-v1
- wandura-motion-transfer-v1
- wandura-lip-sync-v1
- wandura-photo-video-v1
- wandura-video-find-v1
- wandura-transition-v1
- wandura-voiceover-v1
- wandura-region-blur-v1
- wandura-voice-change-v1
- wandura-video-dub-v1
- wandura-slow-motion-v1
- wandura-action-change-v1
- wandura-skin-smooth-v1
- wandura-trailer-v1
responses:
'200':
description: The model.
content:
application/json:
schema:
$ref: '#/components/schemas/Model'
'401':
$ref: '#/components/responses/JobsApiErrorResponse'
'404':
$ref: '#/components/responses/JobsApiErrorResponse'
tags:
- Models
/v2/models/{model_id}/schema:
get:
operationId: getModelSchema
summary: JSON Schema (2020-12) of POST /v2/jobs for this model
parameters:
- in: path
name: model_id
required: true
schema:
type: string
enum:
- wandura-image-v1
- wandura-video-v1
- wandura-c1-1
- wandura-video-upscale-v1
- wandura-video-edit-v1
- wandura-transcribe-v1
- wandura-object-remove-v1
- wandura-video-ai-edit-v1
- wandura-background-remove-v1
- wandura-sound-effects-v1
- wandura-video-extend-v1
- wandura-motion-transfer-v1
- wandura-lip-sync-v1
- wandura-photo-video-v1
- wandura-video-find-v1
- wandura-transition-v1
- wandura-voiceover-v1
- wandura-region-blur-v1
- wandura-voice-change-v1
- wandura-video-dub-v1
- wandura-slow-motion-v1
- wandura-action-change-v1
- wandura-skin-smooth-v1
- wandura-trailer-v1
description: 'Types, required fields, defaults, min/max, lengths, enums (style ids) and per-style rules (if/then: which fields a style requires and which it does not take).'
responses:
'200':
description: JSON Schema.
content:
application/json:
schema:
type: object
'401':
$ref: '#/components/responses/JobsApiErrorResponse'
'404':
$ref: '#/components/responses/JobsApiErrorResponse'
tags:
- Models
/v2/models/{vendor}/{model}/{version}/{task}:
get:
operationId: getRawModel
summary: One raw model by its id (rolling out)
description: 'Rolling out (API www): only while Wandura has raw models on; until then the Jobs API answers as without them. The id keeps its slashes (GET /v2/models/vendor/model/version/task); the older id of a renamed model answers too. An id that is not in the catalog: 404 NOT_FOUND. The fields it takes and their limits are its inputs; its price per unit is at your org''s price.'
parameters:
- in: path
name: vendor
required: true
schema:
type: string
pattern: ^[a-z0-9][a-z0-9.-]*$
description: Who makes the model, for example wandura.
- in: path
name: model
required: true
schema:
type: string
pattern: ^[a-z0-9][a-z0-9.-]*$
description: The model.
- in: path
name: version
required: true
schema:
type: string
pattern: ^[a-z0-9][a-z0-9.-]*$
description: Its version.
- in: path
name: task
required: true
schema:
type: string
pattern: ^[a-z0-9][a-z0-9.-]*$
description: What it does, for example text-to-video or text-to-image.
responses:
'200':
description: The raw model.
content:
application/json:
schema:
$ref: '#/components/schemas/Model'
'401':
$ref: '#/components/responses/JobsApiErrorResponse'
'404':
$ref: '#/components/responses/JobsApiErrorResponse'
tags:
- Models
components:
schemas:
JobsApiError:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- retryable
properties:
code:
type: string
enum:
- INVALID_INPUT
- UNAUTHORIZED
- INSUFFICIENT_CREDITS
- FORBIDDEN
- NOT_FOUND
- IDEMPOTENCY_KEY_REUSED
- JOB_NOT_CANCELLABLE
- STYLE_OFF
- RATE_LIMITED
- PRODUCT_BUSY
- END_USER_LIMIT_REACHED
- DAILY_CAP_REACHED
- INTERNAL_ERROR
- SERVICE_UNAVAILABLE
- DEADLINE_UNREACHABLE
message:
type: string
description: For people; branch on code.
retryable:
type: boolean
details:
type: array
items:
type: object
required:
- field
- reason
properties:
field:
type: string
reason:
type: string
description: INVALID_INPUT only.
needed_usd:
type: number
description: 'Rolling out (API www): INSUFFICIENT_CREDITS of a raw model or Wandura app style job: what it holds, USD.'
available_usd:
type: number
description: 'Rolling out (API www): INSUFFICIENT_CREDITS: what the wallet can spend now, USD (GET /v2/wallet).'
docs_url:
type: string
format: uri
description: This code's section of https://docs.wandura.ai/developers/api-v2/errors (the page itself for a code without its own section).
Model:
type: object
description: 'A Wandura model, or (rolling out, `type: raw`) a raw model: one model of the Wandura app, run by id with no style. A raw model has id, object, type, name, vendor, task, output, inputs, unit, max_job_seconds (and max_job_seconds_with_video on a model whose jobs with a video take longer) and price (list_price and discount with a partner price); no styles, schema_url or styles_url. Rolling out, `type: tool`: a Jobs API tool (wandura-video-edit-v1, wandura-transcribe-v1, wandura-object-remove-v1, wandura-video-ai-edit-v1, wandura-background-remove-v1, wandura-sound-effects-v1, wandura-video-extend-v1, wandura-motion-transfer-v1), with inputs, unit and price as a raw model''s, and its schema_url.'
properties:
id:
type: string
description: 'A raw model: vendor/model/version/task, the model of POST /v2/jobs.'
object:
const: model
output:
type: string
enum:
- image
- video
- audio
- data
description: 'audio: raw models only. data (rolling out, wandura-transcribe-v1): no file, the job''s result.'
description:
type: string
description: 'A raw model: present only when there is something to know beyond its inputs, for example what runs when no preset is named (Wandura Studio 4.0: its cinema preset, which adds a line on the role of the reference images).'
styles:
type: integer
description: Live styles under it for this key.
max_job_seconds:
type: integer
description: 'Longest maximum job time of its styles; past a style''s own maximum a job ends timeout. A raw model: its own maximum (of a job without a video, on a model that has max_job_seconds_with_video).'
max_job_seconds_with_video:
type: integer
description: 'Raw model, only on one whose jobs with a video take longer: the maximum job time of a job whose video_urls is not empty (1800). Not present = max_job_seconds for every job.'
schema_url:
type: string
format: uri
styles_url:
type: string
format: uri
name:
type: string
description: 'Only on a model that takes no style (wandura-c1-1: "Wandura C1.1"), and on a raw model: its name in the Wandura app.'
type:
type: string
enum:
- raw
- tool
description: 'Rolling out: present only on a raw model (raw) and on a Jobs API tool (tool).'
vendor:
type: string
description: 'Raw model: who makes it (the first part of its id).'
task:
type: string
description: 'Raw model: what it does, for example text-to-video (the last part of its id).'
group:
type:
- string
- 'null'
description: 'Raw model: its group, A make images, B edit images, C make video, D edit video, E talking avatar, F audio, with its part (B2 people).'
inputs:
type: object
description: 'Raw model: each field POST /v2/jobs takes for it, by name; send only these, at the top level. A text field: {required, max_length}, sent to the model word for word; max_length = the longest it takes in characters (the limit of its provider, or the ceiling of the Jobs API when the provider declares none). image_urls / video_urls / audio_urls: {min, max} public https URLs. resolution / quality / duration / aspect_ratio: {enum, default}: one of enum, default when left out. seed: {min, max}, a whole number. A switch (audio: the model''s own sound; the text rewrite): {default}, true or false.'
additionalProperties:
type: object
properties:
required:
type: boolean
max_length:
type: integer
min:
type: integer
max:
type: integer
enum:
type: array
items:
type:
- string
- number
default:
type:
- string
- number
- boolean
presets:
type: object
description: 'Raw model, when it has any: each preset (send it as `preset`) with the fields it takes, as `inputs`. Same price per unit as the model. `outputs` (not a field): the images one job of it makes when more than one, for example product-listing (a set of 4 or 5); each is charged.'
additionalProperties:
type: object
preset_required:
const: true
description: 'Raw model, only when true: it has no run of its own (each of its presets adds its own words to your text), so a job names one of `presets`; none is refused (field `preset`).'
unit:
type: string
enum:
- second
- image
- run
- 1k_chars
description: 'Raw model: what its price is per. second = each second of `duration`; image = each image (a preset with `outputs` makes that many a job); run = the job; 1k_chars = each started 1,000 characters of its text. A job holds and is charged its units x the price per unit.'
price:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Raw model: the price per unit, by resolution, or by quality for a model priced by it (key `default` when it takes neither): what a job is held and charged per unit, at your org''s price.'
list_price:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Raw model with a partner price: the list price per unit; price is what is charged.'
price_per_extra_image:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Raw model, only on one whose provider bills each source image: what each image of image_urls after the first adds to the price per unit, at your org''s price. price is the price per unit with one image.'
list_price_per_extra_image:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Partner pricing only: the list price of price_per_extra_image.'
price_with_video:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Raw model, only on one whose reference video costs more when sent: the price per unit, by the same keys as price, of a job whose video_urls is not empty, at your org''s price. price is then the price of a job without one.'
list_price_with_video:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Partner pricing only: the list price of price_with_video.'
price_per_second:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Only on a model priced per output second (wandura-c1-1): the price per second by resolution. A job holds it for the requested seconds and is charged for the seconds delivered.'
list_price_per_second:
type: object
additionalProperties:
type: object
properties:
credits:
type: number
description: 1 credit = $0.01
usd:
type: number
description: 'Partner pricing only: the list price per second; price_per_second is what is charged.'
discount:
type: object
properties:
percent:
type: number
label:
type: string
description: e.g. "Partner −20%"
description: 'Partner pricing only: your org''s % off every job; the prices above are already discounted (what is charged).'
responses:
JobsApiErrorResponse:
description: Error. Branch on error.code; X-Request-Id identifies the request.
headers:
Wandura-Error-Code:
schema:
type: string
description: The same value as error.code.
Wandura-Should-Retry:
schema:
type: string
enum:
- 'true'
- 'false'
description: 'The same value as error.retryable: retry the same request later (with the same Idempotency-Key) only when true.'
content:
application/json:
schema:
$ref: '#/components/schemas/JobsApiError'
securitySchemes:
bearer:
type: http
scheme: bearer
description: wdr_live_… runs for real (charged on success only); wdr_test_… is the sandbox (sample file, $0). Keep keys on your server.
x-wandura:
limits:
submits_per_min_per_product: 2400
product_concurrency: 20
end_user_jobs_per_day: null
statuses:
initial: queued
running: processing
final:
- succeeded
- failed
- cancelled
- timeout
webhook:
signature: X-Signature = hex(HMAC-SHA256(secret, X-Timestamp + "." + raw body)); X-Timestamp = unix seconds
retry_delays_s:
- 30
- 120
- 600
- 3600
- 21600
- 86400
attempts: 7
attempt_timeout_s: 10
errors:
- code: INVALID_INPUT
status: 422
retryable: false
message: 'The body or a header is wrong; details[] lists each {field, reason}. A common one: image_urls with another number of photos than the style takes (GET /v2/styles -> input_counts), e.g. {"field": "image_urls", "reason": "This style needs 2 photos, one per subject (got 1)."}. A raw model (rolling out) is checked against what it declares (GET /v2/models/{id} -> inputs): the number of URLs in each list, a resolution, duration or aspect_ratio it does not offer; a raw model id that is not in the catalog is {"field": "model"}. Its file links are read before anything is held: a link that answers 401, 403, 404 or 410, or a file of another kind than its field takes (a video in image_urls), is {"field": "image_urls[0]", "reason": "is video/mp4, not an image"}.'
- code: UNAUTHORIZED
status: 401
retryable: false
message: 'Missing, unknown, revoked or expired API key. A www.wandura.ai key (wdr_ without live_ or test_) gets the same 401 and code, its message plus one sentence: use it at https://www.wandura.ai/api/v1; api.wandura.ai takes open.wandura.ai keys.'
- code: INSUFFICIENT_CREDITS
status: 402
retryable: false
message: This product's wallet cannot cover the job. Add funds, then retry.
- code: FORBIDDEN
status: 403
retryable: false
message: 'The key is valid but may not do this: a key made with the Read only preset submitting or cancelling, or a key limited to other styles (allowed_styles).'
- code: NOT_FOUND
status: 404
retryable: false
message: No such job, model or endpoint for this key.
- code: IDEMPOTENCY_KEY_REUSED
status: 409
retryable: false
message: This Idempotency-Key was already used with a different body. Use a new key for a new job.
- code: JOB_NOT_CANCELLABLE
status: 409
retryable: false
message: Only queued or processing jobs can be cancelled; this one has ended.
- code: STYLE_OFF
status: 409
retryable: false
message: A style published to your org that is switched off, by your org or taken down by Wandura. Use another style.
- code: RATE_LIMITED
status: 429
retryable: true
message: Too many jobs submitted this minute for this product. Retry after the Retry-After header.
- code: PRODUCT_BUSY
status: 429
retryable: true
message: This product is at its provider concurrency and its queue is full. Retry after the Retry-After header (about 5 s).
- code: END_USER_LIMIT_REACHED
status: 429
retryable: true
message: This end user reached the daily job cap. Retry after the Retry-After header (resets 00:00 UTC).
- code: DAILY_CAP_REACHED
status: 429
retryable: false
message: This product reached its daily spend cap (the day resets at 00:00 Vietnam time, UTC+7). Ask your org admin to raise the cap.
- code: INTERNAL_ERROR
status: 500
retryable: true
message: Something went wrong on our side. Retry with the same Idempotency-Key.
- code: SERVICE_UNAVAILABLE
status: 503
retryable: true
message: 'This style cannot run on a live key right now. Test keys still return a sample. Or: The job queue is briefly unavailable; nothing was created or charged. Retry with the same Idempotency-Key after the Retry-After header.'
- code: DEADLINE_UNREACHABLE
status: 503
retryable: true
message: 'A video job whose deadline (timeout_seconds / deadline_at, or your product''s default) is shorter than it takes at its quickest: refused at once, nothing created or charged. Send a later deadline, or retry after Retry-After.'
job_errors:
- code: CONTENT_MODERATION_BLOCKED
status: failed
retryable: false
message: The input or the result was blocked by content moderation. Not charged.
- code: INPUT_UNUSABLE
status: failed
retryable: false
message: An input file could not be used (unreachable, unsupported format, or too long). Not charged.
- code: INPUT_NO_SUBJECT
status: failed
retryable: false
message: A photo shows no real person or animal (for example a doll, a toy, a drawing, an object or scenery). Not charged.
- code: TIMEOUT
status: timeout
retryable: true
message: The job did not finish within the maximum job time of its style. Not charged.
- code: GENERATION_FAILED
status: failed
retryable: true
message: Generation failed on our side. Not charged; submitting again usually works.
- code: PRICE_CHANGED
status: failed
retryable: false
message: The price of this Story scene went up after it was quoted, so it did not run. Not charged; ask for a new quote (POST /v2/story/quotes).
- code: STORY_NO_SCENES
status: failed
retryable: false
message: 'The script gave no scene to make videos from: nothing in it reads as a scene (a one-line idea, a summary). Write at least one scene (where it happens, then what happens and who says what), then send it again with PUT /v2/story/projects/{project_id}/script. Not charged.'