Sume API

Quick start

Generate images, videos, and audio with one API. Pay what it costs.

Get started

Create an API key, add funds to your workspace, and make your first request.

Authentication

Send your API key in the Authorization header with every request.

Authorization: Bearer YOUR_API_KEY

Make your first request

Submit a prompt to an image or video model and poll the job for its result.

curl -X POST https://api.sume.com/v1/image-router/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2",
    "prompt": "A ceramic coffee cup on a wooden table, soft morning light",
    "quality": "low",
    "aspect_ratio": "1:1"
  }'

Try it in the playground

Explore the inputs and settings without writing code.

Open playground