Skip to main content
A model only runs when a machine on the network offers it. GET /v1/models lists every model the API accepts, whether or not one is online now. Each entry includes available and machines. If no machine offers the model, a synchronous call returns 503 no_provider. An async image job reports no_provider in its error. See Errors and limits. For prices, see Credits and pricing.

In the API

Chat

Endpoint: POST /v1/chat/completions. Studio: Chat. The API takes text only. Pictures in messages are refused.

Pictures

Endpoint: POST /v1/images/generations. Studio: Pictures.

Image edits

Endpoint: POST /v1/images/edits. Studio: Photo fixes.

Speech

Endpoint: POST /v1/audio/speech. Studio: Voices. Kokoro voices: af_alloy, af_aoede, af_bella, af_heart, af_jessica, af_kore, af_nicole, af_nova, af_river, af_sarah, af_sky, am_adam, am_echo, am_eric, am_fenrir, am_liam, am_michael, am_onyx, am_puck, am_santa, bf_alice, bf_emma, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_george, bm_lewis.

Transcription and translation

Endpoints: POST /v1/audio/transcriptions and POST /v1/audio/translations. Studio: Transcripts.

Studio only

These run in the studios on sharemy.ai and are not in the API yet.