HiDream Image

HiDream O1 Image 1.5 API

Generate HiDream O1 Image 1.5 images through hidreamimage.com.

Use these server API routes from an authenticated hidreamimage.com session. They run the same HiDream O1 Image 1.5 text-to-image pipeline as the studio and use the same credits: 4 credits per image.

Authentication

Keep the signed-in session cookie and send the user's API key in the Authorization header. The server adds the internal service key before calling the generation service.

Authorization: Bearer <api_key>
Content-Type: application/json

Costs

  • Text to image: 4 credits per generated image.
  • Credits are deducted by the task service after request validation.
  • Pay-as-you-go credits never expire; see the pricing page for plans.

Image Generate

POST /api/image/hidream-o1-image-1.5/generate

{
  "prompt": "A studio portrait with soft window light",
  "size": "16:9",
  "num_inference_steps": 28,
  "guidance_scale": 4,
  "output_format": "jpeg",
  "negative_prompt": "blur, artifacts"
}

Status

Poll the status endpoint with the returned task_id until the image is ready.

GET /api/image/hidream-o1-image-1.5/status?task_id=<task_id>

History

List HiDream O1 Image 1.5 tasks for the signed-in API key.

GET /api/image/hidream-o1-image-1.5/list?api_key=<api_key>&page=1&limit=12

Limits

  • Prompt length: 1-2500 characters.
  • Steps: 1-50.
  • Guidance scale: 0-20.
  • Image sizes: 1:1, 3:4, 9:16, 4:3, 16:9.
  • Output formats: jpeg, png.