Your first $5 becomes $15Get started
POST/v1/images/generations

Generate an image from a text prompt

Credit metering

Authentication

Send your virtual key as Authorization: Bearer sk-nemo-…. One key works across every model and modality.

Request bodyapplication/json

FieldTypeRequired
modelstringrequired
promptstringrequired
size1024x1024 | 1024x1536 | 1536x1024optional
nintegeroptional

Response200

{
  "created": 1700000000,
  "data": [
    {
      "b64_json": "<base64-png>"
    }
  ]
}

Errors

StatusMeaning
400400 — Guardrail blocked the request
402402 — Not enough credits
429429 — one of: rate_limit_exceeded (RPM limit exceeded); tpm_limit_exceeded (TPM limit exceeded)
503503 — Credit system unavailable