> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Hy-Image-3.0

Hunyuan Image-3.0 uses the Hunyuan foundation model to reason about layout, composition, and brushwork, drawing on world knowledge to create plausible scenes. It understands complex descriptions thousands of characters long and generates long passages of text, intricate comics, memes, and lively science illustrations.

### Model parameters

* Model ID: `hy-image-v3`
* Pricing: Check the [model details page](https://geekai.co/models/hy-image-v3) for current prices.
* Endpoint: `https://geekai.co/api/v1/images/generations`
* Parameters: See the [Image API reference](https://docs.geekai.co/en/api/image/generations.md).
* Authentication: [Get an API key](https://geekai.co/user/api_keys).

> [!NOTE]
>
> The following common Image API parameters are not supported:
>
> * `negative_prompt`
> * `strength`
> * `quality`
> * `aspect_ratio`
> * `style_preset`
> * `n`
> * `response_format`
> * `output_format`
> * `mask`
> * `background`
>
> See also: [Official Hy-Image-3.0 API documentation](https://cloud.tencent.com/document/product/1823/135745#hy-image-3.0-.E5.9B.BE.E7.89.87.E7.94.9F.E6.88.90).

Use GeekAI’s `image` instead of the official `images` to pass one or more reference images:

* Pass an image URL or Base64-encoded data. Supported formats: PNG, JPEG, and JPG.
* URLs must be publicly accessible. For the mainland China version, use a URL accessible from mainland China; otherwise, use Base64.
* Each image must be no larger than 10 MB.
* Up to 3 reference images.

Use `size` to set the output dimensions and resolution. Limits for `size`:

* Both width and height must be between 512 and 2048 pixels inclusive.
* Width × height must not exceed 1024×1024 pixels.

Use GeekAI’s `enhance_prompt` instead of the official `revise` to enhance image prompts automatically.

### Text-to-image generation

Generate an image from a text description:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"hy-image-v3",
    "prompt": "Draw a cute kitten",
    "size": "1024x1024"
}'
```

The response is a JSON object containing the generated image URL:

```json theme={null}
{
    "model": "hy-image-v3",
    "created": 1792638632,
    "task_id": "02dbbdd4-055a-4f74-998f-2cbdcbe832d6",
    "task_status": "succeed",
    "data": [
        {
            "url": "https://static.geekai.co/image/2026/10/22/11b0a2059702514cabf78acca4bf183f.png",
            "revised_prompt": "Draw a cute kitten"
        }
    ],
    "usage": {
        "total_tokens": 20000
    }
}
```

### Image-to-image generation

**Single image**

Pass a reference image in `image` for image-to-image generation:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"hy-image-v3",
    "prompt": "Change the color of the girl’s clothes to green",
    "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png"
}'
```

**Multiple images**

To supply multiple reference images, pass an array in `image`:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"hy-image-v3",
    "prompt": "Replace the clothing of the girl in image 2 with the clothing of the girl in image 1",
    "image": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_imagesToimage_1.png", 
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imagesToimage_2.png"
    ]
}'
```

> [!NOTE]
>
> For long-running requests, set `async` to `true` to enable asynchronous processing. The endpoint returns a `task_id`. Poll `https://geekai.co/api/v1/images/{task_id}` for the latest status and retrieve the final image URL when the task completes. See [Asynchronous image generation](https://docs.geekai.co/en/docs/image/txt2img.md#asynchronous-image-generation).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.