Hunyuan Image 2.1
hunyuan-image-2-1Generate high-quality 2K resolution images from text prompts
- Preço
- US$ 0,024/imagem
- Proporções de aspecto
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
- Entrada → Saída
- Texto → Imagem
- Desenvolvedor
- Tencent
- Atualizado
- 24 de setembro de 2026
Playground
Experimentar Hunyuan Image 2.1
Entrada & saída
Esta execução
US$ 0,024 · 2,4 créditos
Para contas sem compra anterior: execuções acima de 2 créditos precisam de recarga.
Novo por aqui?
10 créditos grátis (US$ 0,10) ao se inscrever com Google
Utilizável 24 horas após inscrição, até 5 execuções por dia e no máximo 2 créditos por execução. Outros métodos de login começam sem créditos.
Examples
Open full sizePrompt
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
Open full sizePrompt
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
Open full sizePrompt
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
Sobre Hunyuan Image 2.1
Hunyuan Image 2.1 é um modelo de Tencent na categoria Geração de imagens. No Railwail, Hunyuan Image 2.1 custa US$ 0,024 por imagem. Proporções de aspecto suportadas: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 e 2:3.
Preços
| Por imagem | US$ 0,024 por imagem |
|---|
- 1 crédito = US$ 0,01
Calculadora de custos
Calculadora de preços
Total
US$ 2,40
240 créditos
Por execução
US$ 0,024 · 2,4 créditos
Preço fixo por execução, conhecido antes do início.
API
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"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="hunyuan-image-2-1",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "hunyuan-image-2-1",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("hunyuan-image-2-1", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Especificações
- ID do modelo
hunyuan-image-2-1- Desenvolvedor
- Tencent
- Categoria
- Geração de imagens
- Entrada
- Texto
- Saída
- Imagem
- Proporções de aspecto
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
- Faturamento
- Preço fixo, conhecido antes da execução
- Entrada do catálogo atualizada
- 24 de setembro de 2026
Parâmetros de entrada
Entradas e configurações do esquema de entrada do modelo. O exemplo na seção API mostra quais delas a API aceita.
promptobrigatórioTipo: TextoPadrão: –Valores permitidos: –aspectRatioTipo: EscolhaPadrão: –Valores permitidos: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 ou 2:3
Etiquetas
- replicate
- tencent
- text-to-image
Casos de uso
Perguntas frequentes
O que é Hunyuan Image 2.1?
Hunyuan Image 2.1 é um modelo de Tencent na categoria Geração de imagens. No Railwail você pode chamá-lo com uma chave de API através da API Railwail.
Quanto custa Hunyuan Image 2.1 no Railwail?
No Railwail, Hunyuan Image 2.1 custa US$ 0,024 por imagem. O preço é conhecido antes do início da execução. O uso é pago com créditos pré-pagos; 1 crédito equivale a US$ 0,01.
Quais configurações Hunyuan Image 2.1 suporta?
De acordo com seu esquema de entrada, Hunyuan Image 2.1 conhece estes parâmetros: prompt e aspectRatio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2 ou 2:3).
Qual é a velocidade de Hunyuan Image 2.1?
Ainda não há execuções medidas suficientes de Hunyuan Image 2.1 no Railwail para indicar um tempo de execução. Depende da entrada, das configurações e da carga no provedor.
Hunyuan Image 2.1 é melhor que FLUX 1.1 Pro?
Depende da tarefa. Hunyuan Image 2.1 (Tencent) e FLUX 1.1 Pro (Black Forest Labs) são ambos modelos na categoria Geração de imagens. A página de comparação mostra seus preços e especificações lado a lado.
Comparar Hunyuan Image 2.1 e FLUX 1.1 ProComo uso Hunyuan Image 2.1 através da API?
Crie uma chave de API Railwail e envie sua solicitação com o ID do modelo hunyuan-image-2-1. Exemplos de código para curl, Python e JavaScript estão na seção API desta página.
Modelos comparáveis
Todos nesta categoria- FLUX 1.1 ProBlack Forest Labs
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
- Flux 1.1 Pro UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
- Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Usar Hunyuan Image 2.1 via API
Uma chave API para todos os modelos no Railwail. O uso é cobrado a partir de créditos pré-pagos, 1 crédito = US$ 0,01.