Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: MAGI 2 launch limited-time 20% off, covering text-to-video, image-to-video, and reference-to-video across the board. Try it now
Notice: Seed Audio 1.5 launch limited-time 20% off, covering text-to-audio, video dubbing, audio track separation, and video translation across the board. Try it now
Notice: HeyGen Avatar 6 Turbo is 20% off for a limited time, and all three video pipelines are eligible.Try it now
Notice: Midjourney Niji 8 is now available, 20% off · Create now
Notice: Gemini 3.8 Flash TTS launch limited-time 20% off, with both conversational speech synthesis lines included · Try it now
Notice: Hunyuan Image 3.0 launch limited-time 20% off, for both text-to-image and instruction-based editing · Try it now
Notice: Seed Audio 1.0 launch limited-time 20% off, text-to-speech billed per minute · Try it now
Notice: Limited-time 20% off on the new Eleven v4 and v4 Turbo, text-to-speech included · Try it now
Announcement 1 of 9
Blog

Guide

Hunyuan-Image-3.0 Text-to-Image Prompting and Parameter Guide

How to tune image_size, guidance_scale, num_inference_steps, negative_prompt, and enable_prompt_expansion on HiAPI for consistent 1MP outputs at $0.1498 per image.

Dec 5, 2026 7 min read
Hunyuan-Image-3.0 Text-to-Image prompting and parameter guide cover
Model
hunyuan-image-3.0
On this page

hunyuan-image-3.0/text-to-image on HiAPI delivers high-fidelity text-to-image generation with strong composition, material texture, and bilingual prompt comprehension. Because the HiAPI endpoint exposes a clean, predictable parameter set and flat per-image pricing, you can integrate it into production pipelines without surprise resolution surcharges.

Flat Pricing and Supported Aspect-Ratio Presets

HiAPI exposes five ~1-megapixel presets on image_size, all billed at a flat $0.1498 per image (74,900 quota per image). Setting num_images between 1 and 4 scales cost linearly (for example, num_images: 4 costs $0.5992 per request).

image_size PresetTarget AspectTypical DimensionsBest Use Case
square_hd (default)1:11024 × 1024Product shots, avatars, social cards
portrait_4_33:4768 × 1024Editorial portraits, e-commerce lookbooks
portrait_16_99:16576 × 1024Mobile wallpapers, vertical story banners
landscape_4_34:31024 × 768Presentation visuals, blog illustrations
landscape_16_916:91024 × 576Hero headers, widescreen thumbnails

Core Parameter Reference

Only prompt is required. Every optional parameter falls back to a sensible default when omitted:

  • num_inference_steps (integer, 1–50, default 28): Controls denoising refinement. Values in the 24–32 range offer the best quality-to-latency ratio; raising to 40–50 adds marginal micro-texture at higher latency.
  • guidance_scale (number, 1–20, default 7.5): Controls adherence to the prompt. Use 5.0–6.5 for softer, organic photography and 7.5–9.5 when exact object placement or styling matters. Avoid pushing past 12 unless you intentionally want hyper-saturated contrast.
  • negative_prompt (string, default ""): Lists undesired visual traits such as extra fingers, watermarks, blurry typography, or plastic skin. Keep negative prompts concise and specific to observed failure modes.
  • enable_prompt_expansion (boolean, default false): Rewrites short prompts into richer visual descriptions before generation. Keep it false in deterministic templates where you already specify lighting, lens, and framing; turn it true for consumer-facing apps where users type 3–6 words.
  • output_format ("png" or "jpeg", default "png"): Use png for lossless master assets or downstream editing; use jpeg for lightweight web previews.
  • seed (integer, optional): Pins the random noise initialization so you can compare small prompt or parameter tweaks apples-to-apples.

Prompt Structure That Works Reliably

When enable_prompt_expansion is false, organize prompts in five predictable clauses: subject → action/pose → environment → lighting & camera → material/style finish.

A matte black ceramic pour-over coffee dripper resting on a brushed walnut counter,
steam rising gently from freshly brewed coffee in a glass server,
minimalist Tokyo cafe interior softly blurred in the background,
morning window light from camera left with crisp rim highlights, shot on 50mm f/2.0 lens,
natural film grain, realistic ceramic glaze texture, editorial product photography

Production Request Example (HiAPI Async Tasks)

Submit generation requests to POST https://api.hiapi.ai/api/v1/tasks and poll the returned task ID until completion:

{
  "model": "hunyuan-image-3.0/text-to-image",
  "input": {
    "prompt": "Architectural twilight photograph of a timber and glass library beside a still lake, warm interior glow reflecting on the water, overcast blue hour sky, 24mm tilt-shift lens, ultra-clean lines",
    "negative_prompt": "watermark, lowres, oversaturated, distorted perspective, floating debris",
    "image_size": "landscape_16_9",
    "num_images": 2,
    "num_inference_steps": 28,
    "guidance_scale": 7.5,
    "enable_prompt_expansion": false,
    "output_format": "png",
    "seed": 42018
  }
}

Iteration Checklist for Engineering Teams

  1. Prototype with num_images: 1 and a fixed seed while dialing in composition and lighting.
  2. Adjust one lever at a time: tune guidance_scale before adding heavy negative prompts.
  3. Keep master outputs in png if you plan to chain results into hunyuan-image-3.0/instruct-edit for localized revisions.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs