Models
List available models and what each one supports. No key needed.
Routes
These routes need no API key, so you can call them from anywhere, including build scripts.
| GET | Returns |
|---|---|
| /v1/models | Text models in the OpenAI list format |
| /v1/models?output_modalities=image | Image models (also video, or all) |
| /v1/models/{id} | One model |
| /v1/images/models | Image models with their size tiers |
| /v1/videos/models | Video models with their resolutions, durations and modes |
List models
GET /v1/models returns text models by default. Add ?output_modalities=image, video or all for the others. With an anthropic-version header it returns the Anthropic Models format instead. Use the id of any model as the model in your requests.
curl https://api.greentokens.io/v1/modelsImage and video models
The media routes add what each model supports: size tiers for images; resolutions, aspect ratios, durations, generation modes and input limits for video. Current prices for every model are on the models page.
curl https://api.greentokens.io/v1/images/modelsStatus
Live availability and 90 days of uptime for every model are on our status page. Check it first if requests to a model start failing.