HiDream Image

HiDream O1 Image 1.5 API

HiDream O1 Image 1.5 API integration method.

Use a Bearer API key from your own backend, submit text-to-image prompts, poll task status, list recent jobs, and keep credentials out of browser-side code.

Authentication

Send your API key with every request using Authorization: Bearer <YOUR_API_KEY>. Store the key on your server and do not expose it in frontend JavaScript.

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

Generate

POST https://hidreamimage.com/api/image/hidream-o1-image-1.5/generate

{
  "prompt": "A clean product poster for a silver perfume bottle, readable headline, studio lighting",
  "size": "16:9",
  "num_inference_steps": 28,
  "guidance_scale": 4,
  "output_format": "jpeg"
}

Status

Use the returned task_id to check generation progress and read result URLs when the task completes.

GET https://hidreamimage.com/api/image/hidream-o1-image-1.5/status?task_id=<TASK_ID>

History

List recent image generation tasks for the same API key with pagination.

GET https://hidreamimage.com/api/image/hidream-o1-image-1.5/list?page=1&limit=12

Model options

  • Image sizes: 1:1, 3:4, 9:16, 4:3, 16:9.
  • Common uses: product visuals, posters, portraits and social content.
  • Start with the online studio when you want to validate prompt quality before sending API traffic.