GreenTokens

Search

Search models, guides, docs and the FAQ.

API

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.

GETReturns
/v1/modelsText models in the OpenAI list format
/v1/models?output_modalities=imageImage models (also video, or all)
/v1/models/{id}One model
/v1/images/modelsImage models with their size tiers
/v1/videos/modelsVideo 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/models

Image 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/models

Status

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.