Hunyuan Image 2.1

Image generationNewAvailable
by TencentModel ID: hunyuan-image-2-1

Generate high-quality 2K resolution images from text prompts

Price
$0.024/image
Aspect ratios
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
Input → output
Text → Image
Developer
Tencent
Updated
September 24, 2026
01

Playground

Try Hunyuan Image 2.1

Input & output

$0.024/image
Try Hunyuan Image 2.1
Advanced settings (1)
Output
Your image appears here.

This run

$0.024 · 2.4 credits

For accounts without a purchase: runs above 2 credits need a top-up.

New here?

10 free credits ($0.10) when you sign up with Google

Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Example output 1 from Hunyuan Image 2.1: A cartoon consisting of four panels, arranged in a 2x2 grid, depicts a chameleon's dilemma. Top left: A cartoon-style chameleon rests on a bOpen full size

    Prompt

    A cartoon consisting of four panels, arranged in a 2x2 grid, depicts a chameleon's dilemma. Top left: A cartoon-style chameleon rests on a broad, emerald green leaf. Its skin, the exact same green color, with light green texture details, creates perfect camouflage, almost blending in with the background. The chameleon's large eyes flicker curiously, its body relaxed against a backdrop of blurred green jungle. Top right: The same chameleon climbs from the edge of the leaf onto a rough, dark brown branch. Its body has completely transformed to the same dark brown as the branch, and its skin mimics the texture of bark. Its head is slightly raised, its mouth curled upward, and its eyes reveal a look of pride and satisfaction. Bottom left: The chameleon confidently approaches a picnic blanket spread on the grass. One of its front paws has already stepped onto the blanket, which features a red and white checkered pattern. The chameleon's body, still brown, is about to fully step onto the intricately patterned fabric, its expression filled with anticipation. Bottom right: The chameleon stands perfectly in the center of the red and white checkered picnic blanket. Its color system has malfunctioned, and its body surface rapidly and chaotically flashes through a variety of colors and patterns, including neon pink spots, electric blue stripes, and pixelated blocks, completely failing to match the checkered background. Its eyes are wide open, its mouth gaping in a frightened O shape, an…

    Settings

    aspect_ratio
    1:1
  • Example output 2 from Hunyuan Image 2.1: A wildlife poster design for the Serengeti plains features a central illustration of a chibi-style explorer riding a lion cub, set against aOpen full size

    Prompt

    A wildlife poster design for the Serengeti plains features a central illustration of a chibi-style explorer riding a lion cub, set against a backdrop of rolling hills. At the top of the composition, the title "Serengeti: Roar of Adventure" is displayed in a large, whimsical font with decorative, swirling letters. The main scene depicts a wide-eyed chibi explorer, characterized by a large head and a small body, sitting atop a friendly lion cub. The explorer wears a green explorer's hat, a backpack, and holds onto the cub's mane, looking forward with a look of wonder. The lion cub, with a light brown mane and a smiling expression, strides forward, its body rendered in warm orange tones. In the background, the Serengeti plains are illustrated with rolling hills and savanna grass, all in shades of warm yellow and soft brown. Below the main illustration, the tagline "Where Dreams Run Wild" is written in a smaller, elegant script. The overall presentation is that of a poster design, combining a cute chibi illustration style with playful, whimsical typography.

    Settings

    aspect_ratio
    1:1
  • Example output 3 from Hunyuan Image 2.1: A vibrant winter wonderland poster for Lapland is presented, featuring a central illustration of a fluffy fox sledding down a snowy hill benOpen full size

    Prompt

    A vibrant winter wonderland poster for Lapland is presented, featuring a central illustration of a fluffy fox sledding down a snowy hill beneath an aurora borealis sky. In the foreground, a small, fluffy fox with bright orange fur is depicted joyfully riding a simple wooden sled. The fox wears a cozy, patterned scarf around its neck, and its tail curls happily as it glides over the snow. The background is dominated by a spectacular aurora borealis, with swirling curtains of light in shades of icy cyan and pink dancing across the night sky, interspersed with sparkling white snowflakes. Snow-covered mountains and pine trees are visible beneath the aurora. At the top of the poster, the text "Lapland Magic" is displayed in a large, playful font that resembles snowflakes. A smaller tagline, "Find Your Frosty Adventure," is written in an elegant script below the main title. The overall color palette consists of of icy cyan, pink, and sparkling white, creating a magical and inviting atmosphere. The presentation is that of a graphic design poster, combining illustration and typography.

    Settings

    aspect_ratio
    1:1
03

About Hunyuan Image 2.1

TL;DRAs of September 24, 2026

Hunyuan Image 2.1 is a model by Tencent in the Image generation category. On Railwail, Hunyuan Image 2.1 costs $0.024 per image. Supported aspect ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, and 2:3.

04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Per image$0.024 per image
  • 1 credit = $0.01

Cost calculator

Price calculator

Total

$2.40

240 credits

Per run

$0.024 · 2.4 credits

Fixed price per run, known before the run starts.

05

API

Call Hunyuan Image 2.1 with your Railwail API key. Use this model ID in the request:
curl https://railwail.com/api/v1/images/generations \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hunyuan-image-2-1",
    "prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
  }'
Set your key as RAILWAIL_API_KEYCreate API key
06

Specifications

Model ID
hunyuan-image-2-1
Developer
Tencent
Input
Text
Output
Image
Aspect ratios
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
Billing
Fixed price, known before the run
Catalog entry updated
September 24, 2026

Input parameters

Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.

  • promptrequired
    Type: Text
    Default: –
    Allowed values: –
  • aspectRatio
    Type: Choice
    Default: –
    Allowed values: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, or 2:3

Tags

  • replicate
  • tencent
  • text-to-image
07

Use cases

08

Frequently asked questions

What is Hunyuan Image 2.1?

Hunyuan Image 2.1 is a model by Tencent in the Image generation category. On Railwail you can call it with an API key through the Railwail API.

How much does Hunyuan Image 2.1 cost on Railwail?

On Railwail, Hunyuan Image 2.1 costs $0.024 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.

Which settings does Hunyuan Image 2.1 support?

According to its input schema, Hunyuan Image 2.1 knows these parameters: prompt and aspectRatio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, or 2:3).

How fast is Hunyuan Image 2.1?

There are not enough measured runs of Hunyuan Image 2.1 on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is Hunyuan Image 2.1 better than FLUX 1.1 Pro?

That depends on the task. Hunyuan Image 2.1 (Tencent) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.

Compare Hunyuan Image 2.1 and FLUX 1.1 Pro

How do I use Hunyuan Image 2.1 through the API?

Create a Railwail API key and send your request with the model ID hunyuan-image-2-1. Code examples for curl, Python and JavaScript are in the API section of this page.

09

Comparable models

All in this category

Use Hunyuan Image 2.1 via the API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.