Model fields
The model catalog changes without a new API version: the model pages in this reference are built at docs build time, while GET /models and GET /models/{id} return the current list, prices and limits. All model pages · All models. An overview with examples · synesta.ai/models.
Types
type | What it does |
|---|---|
image | images, edits and upscaling |
video | video from text and from references |
music | songs and instrumentals |
voice | text to speech |
3d | 3D models |
List
curl "https://api.synesta.ai/v1/models?type=video" \
-H "Authorization: Bearer $SYNESTA_API_KEY"| Field | What it is |
|---|---|
id | value for the model field |
name, brand | model name and developer |
credits_from | lowest price in credits |
available | whether it can run right now |
reason | why the model is switched off now |
alternatives | ids of replacement models, up to three |
capabilities | what the model accepts |
What a model accepts
GET /models/{id} returns capabilities. A missing key means the setting does not apply to the model.
| Field | Meaning |
|---|---|
aspects, default_aspect | aspect ratios for aspect |
resolutions, image_resolutions, default_resolution | resolutions for resolution |
duration_options, duration_min, duration_max, fixed_duration, default_duration | video duration in seconds |
has_sound | video with sound, field sound |
max_prompt_length, text_optional | prompt limit and whether it can be empty |
allow_reference_images, requires_reference_image, max_reference_images | references |
supports_seed, supports_negative_prompt, max_negative_prompt_length | seed and negative |
upscale_factors | values of upscale_factor |
requires_mask | the edit needs a mask, field mask_target |
voices, default_voice | voices for voice_id |
speed_min, speed_max | speed range of a voice |
A value outside these lists · 422 invalid_parameters with the field in details.param. A field the model does not take at all · 422 unsupported_input.
Model switched off
A model may stop taking launches for a while. Then available: false, reason explains why (maintenance, overload, update, provider incident, the model's daily cap, paused in the API) and alternatives suggests a replacement. Launching it · 503 model_unavailable.
A model at capacity during a launch · 503 model_busy with retry_after_seconds.
Price
credits_from is a guide. The exact price for your settings comes from POST /estimate, in dollars too for REST. The price in credits matches the site; how it converts to dollars is in Billing and storage.