Hunyuan Image 3
Hunyuan Image 3.0 is Tencent’s next-generation native multimodal model, engineered for unified multimodal understanding and generation within an autoregressive framework. Featuring the largest open-source image generation Mixture of Experts (MoE) architecture—80 billion parameters and 64 experts—it delivers state-of-the-art photorealistic imagery and exceptional prompt fidelity. HunyuanImage-3.0 excels at intelligent world knowledge reasoning, automatically enriching sparse prompts with contextually relevant details, and achieves benchmark-leading performance in both text-to-image and integrated multimodal tasks.
Code Example
Example code for using this model through our API with Python (OpenAI SDK) or cURL. Replace placeholders with your API key and model ID.
Basic request example. Ensure API key permissions. For more details, see our documentation.
from openai import OpenAI
client = OpenAI(base_url="https://api.naga.ac/v1", api_key="YOUR_API_KEY")
resp = client.images.generate(
    model="hunyuan-image-3",
    prompt="A white siamese cat",
    size="1024x1024",
    n=1,
    response_format="url",  # or "b64_json"
)
print(resp.data)  # array of images with url or b64_json