HiDream I1 Full

60.00 credits/MP
ae_hidream_i1_full

Create up to four images from a text prompt with advanced controls for prompt guidance, detail, negative prompts, and custom style adapters.

Image
60.00 credits/MP

Pricing

60.00 AE credits per MP. Requested image dimensions determine billed MP per image; charge for the number of successfully returned images. One MP is 1024 by 1024 pixels.

60.00 credits/MP

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | unknownNo The same seed and the same prompt given to the same version of the model will output the same image every time. —
request_body.lorasarray | unknownNoA list of LoRAs to apply to the model. Each LoRA specifies its path, scale, and optional weight name.—
request_body.loras[].pathstringYesURL or the path to the LoRA weights.—
request_body.loras[].scalenumberNo The scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model. 1
request_body.loras[].weight_namestring | unknownNoName of the LoRA weight. Used only if `path` is a Hugging Face repository, and required only if you have more than 1 safetensors file in the repo.—
request_body.promptstringYesThe prompt to generate an image from.—
request_body.sync_modebooleanNoIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.false
request_body.image_sizeobject | stringNoThe size of the generated image.—
request_body.image_size.widthintegerNoThe width of the generated image.512
request_body.image_size.heightintegerNoThe height of the generated image.512
request_body.num_imagesintegerNoThe number of images to generate.1
request_body.output_formatenum (jpeg | png)NoThe format of the generated image.jpeg
request_body.guidance_scalenumberNo The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. 5
request_body.negative_promptstringNo The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). ""
request_body.num_inference_stepsintegerNoThe number of inference steps to perform.50
request_body.enable_safety_checkerbooleanNoIf set to true, the safety checker will be enabled.true

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_hidream_i1_full' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "prompt": "a cat holding a skateboard which has '\''fal'\'' written on it in red spray paint"
    }
  }
}'

No response example available yet.