Skip to main content
Send a task to a visual agent in three steps: get an API key, install an SDK, and send a request. The agent plans the steps, runs the vision tools it needs, and returns the result. The request uses the Chat Completions format, so the OpenAI SDK works too.

Need one visual model call instead?

For a single task such as OCR, visual Q&A, or detection, call a visual model directly. See the Models quickstart.

1. Get an API key

Create a key in the dashboard, then set it in your shell. Agent requests need a key.

2. Install the SDK

cURL needs no install. To use the OpenAI SDK instead, see OpenAI compatibility.

3. Send your first task

Not sure which agent to use? Start with vlmrun-orion-2:auto. It picks the backing model and thinking budget for each task. See Models for the fast and pro variants.
The agent runs a detection tool on the image, then describes the car. The answer is in choices[0].message.content, and the run cost is in the response. See Pricing.

Next steps

  • Structured output: get JSON that matches your schema.
  • Inputs: send documents, video, and audio.
  • Output files: download the images and video an agent creates.
  • Skills: save instructions and an output schema, and reuse them in any request.
  • Agent execution: create a saved agent, run it on a file in the background, and read the result.
  • API reference: every request and response field.