Models
Base URL https://arteza.ai/api/v1
OpenAPI 3.1 specification, for SDK generators and agents: /api/v1/openapi.json
Official SDKs for TypeScript and Python, a command line and agent skills: SDKs and CLI
Each model has an id and an input_schema in JSON Schema. Send only the fields it lists; an unknown field is rejected with unknown_parameter so a typo never silently changes your result. Omitted fields take the model's defaults.
Each model also lists its modes: text to video, image to video, first and last frame, reference to video, editing and the rest. A mode names the input fields that select it and comes with a working example, so one request tells you everything a model can do. GET /models lists every model, and each one can be read on its own with its price at the defaults.
curl https://arteza.ai/api/v1/models/seedance-2 \
-H "Authorization: Bearer $ARTEZA_API_KEY"
{
"id": "seedance-2",
"object": "model",
"category": "video",
"modes": [
{ "id": "text_to_video", "inputs": ["prompt"] },
{ "id": "image_to_video", "inputs": ["image_url"] },
{ "id": "first_last_frame", "inputs": ["image_url", "end_image_url"] },
{ "id": "reference_to_video", "inputs": ["reference_images", "video_urls", "audio_urls"] }
],
"input_schema": { "type": "object", "properties": { "prompt": {...}, "duration": {...}, ... } },
"pricing": { "at_defaults": { "credits": { "amount": 22.8 }, "usd": { "amount": 1.512 } } }
}