← Back to catalog

Seedream 5

Live
imagegen

Seedream 5 text-to-image generation.

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/image/seedream-5

Authenticate with the X-API-Key request header.

Pricing

5 credits / image1 credit = ₹1. Billed on success: per image.

List price. Volume / bulk customers get a discounted rate — contact us for account pricing.

Parameters

NameTypeRequiredDescriptionDefault / options
promptstringrequiredText prompt describing the desired output.
aspect_ratiostringoptionalOutput aspect ratio.
default: 1:1

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/image/seedream-5 \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A surreal floating island with waterfalls, dreamlike"}'
request body (JSON)
{
  "prompt": "A surreal floating island with waterfalls, dreamlike"
}

Response

Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.

202 Accepted
{
  "job_id": "job_seedream5_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_seedream5_a1b2c3",
  "model": "seedream-5",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/seedream-5/a1b2c3.png",
        "type": "image"
      }
    ]
  },
  "credits_charged": 10
}

Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.