Get started

Models

Every model one key can call, and the endpoints that serve it.

Name the model in each request. Prices are on the console’s models page, the source of truth for what each model costs.

Decisions

Model idEndpointsNotes
tod-pickerPOST /v1/systemone, POST /v1/pickTyped decisions with a calibrated probability per option. Text and up to 8 images per state. Input tokens only.

See systemone and pick.

Image generation

Model idEndpointNotes
nano-banana-2POST /v1beta/models/nano-banana-2:generateContentGemini 3.1 Flash Image: generation and editing from text and images.
nano-banana-2.1POST /v1beta/models/nano-banana-2.1:generateContentGemini Nano Banana 2.1: generation and editing from text and images.

See Nano Banana.

Coming soon

Video generation with xAI’s Grok Imagine 1 and Grok Imagine 1.5.