PicassoIA API
Models and Schemas
Every model the API serves, its inputs and its outputs, as JSON Schema.
Models
The exact schema of every model is also served as JSON Schema: GET /v1/models/{owner}/{name} returns input_schema (with every field, its limits and defaults) and output_schema.
Images as input. Image fields take either kind of value:
- an https URL that is publicly reachable;
- a data URL:
data:image/png;base64,…, alsoimage/jpegorimage/webp, up to 5 MB each.
The images must be PNG, JPEG or WebP. PicassoIA stores its own copy of each one, so input in the prediction shows that copy's URL. Use URLs for anything larger than a few hundred KB: the whole request body is limited to 10 MB.
Video and audio as input. Only picassoia/picassoia-reference-to-video takes them, and only as a publicly reachable https URL (no data URLs):
- a reference video: MP4, MOV or WebM, up to 50 MB;
- a reference audio: MP3, WAV, M4A, AAC, OGG or FLAC, up to 20 MB.
PicassoIA stores its own copy of each one too, and input shows that copy's URL. A file that is not one of those formats, or that cannot be downloaded, is a 422 invalid_input naming the field.
Unknown fields are refused, so a typo does not silently fall back to a default. The answer is 422 invalid_input.
Model
{
"id": "picassoia/seedance-2.5-lite",
"owner": "picassoia",
"name": "seedance-2.5-lite",
"title": "Seedance 2.5 Lite",
"description": "Text or image to video with synchronized audio: …",
"input_schema": { "type": "object", "properties": { "…": {} }, "required": ["prompt"], "additionalProperties": false },
"output_schema": { "type": "string", "format": "uri" }
}