此语言仍有 25 条内容或界面任务待翻译;未完成部分显示中文原文。
Tencent Hunyuan Text-to-Image (Lite) TextToImageLite APICategory Diagram
Content Correction

Tencent Hunyuan Text-to-Image (Lite) TextToImageLite API

Model TextToImageLiteLarge Models & Software Services
关键规格 1Provided by Supplier提示词最多1024个utf-8字符
关键规格 2Provided by Supplier默认分辨率1024:1024
关键规格 3Provided by Supplier支持长边分辨率160至4096 px
关键规格 4Provided by Supplier默认1并发
Reference unit priceRequest a Quote

Reference subtotal Request a Quote

价格与库存供选型参考,正式报价和交期请供方确认。

Specification Parameters

API & System

Action
TextToImageLite · Common parameter; the value for this API
API Version
2022-12-29 · Common parameter Version
Request Domain
aiart.tencentcloudapi.com · Domain for API requests
Default Concurrency
1个 · Up to 1 submitted tasks can be processed simultaneously
Prompt Length Limit
1024个 utf-8 字符 · Applies to both Prompt and NegativePrompt
Default Resolution
1024:1024 · Supports aspect ratios 1:1, 3:4, 4:3, 9:16, 16:9, with long edges 160–4096 px
Image Return Method
base64 或 url,默认 base64 · URL validity is 1 hours

Comparison with Similar Products

Specifications本品 · TextToImageLitekimi-k3.1-pro火山方舟模型 APIqwen-audio-3.1-asr-flashdoubao-seed-2.1-turbo
Main controller—————
NPU—————
Memory / VRAM—————
Reference unit priceRequest a QuoteRequest a QuoteRequest a QuoteRequest a QuoteRequest a Quote
Inventory—————

Product introduction

API positioning: A Hunyuan text-to-image API built on the Hunyuan large model that intelligently generates images from input text descriptions; documentation last updated 2026-04-20.

Input parameters: Prompt is required, Chinese recommended, up to 1024 utf-8 characters; NegativePrompt is optional, used to reduce described content appearing in generated results; Resolution defaults to 1024:1024, supporting aspect ratios 1:1, 3:4, 4:3, 9:16, 16:9, with long-edge resolutions from 160 to 4096 (in px); a positive Seed value means fixed-seed generation, 0 or omitted means random; LogoAdd defaults to 1, adding a label to the resulting image—Tencent officially recommends a prominent label indicating the image is AI-generated; RspImgType accepts base64 or url, defaulting to base64.

Output parameters: ResultImage returns a Base64 encoding or a generated-image URL (valid for 1 hours; save promptly) depending on RspImgType; Seed and RequestId (for troubleshooting) are also returned.

Integration and delivery requirements: API request domain aiart.tencentcloudapi.com, API version 2022-12-29; 1 concurrent tasks are provided by default, meaning up to 1 submitted tasks can be processed simultaneously. Calls require the corresponding CAM permissions, and the account must have the service enabled in the console with no outstanding balance. For error handling, the documentation lists error codes such as authentication failure, text or image moderation rejection, input text too long, request rate limits, and arrears/insufficient balance.

Selection guidance: This page is API documentation only and does not provide pricing or context length; verify billing details on the Tencent Cloud pricing page before purchase, and assess the impact of the 1 concurrency limit on business throughput.

Compilation Notes 内容由 AI 根据公开资料整理;事实与推断分开呈现。

Content Correction

Product parameter comparison

Product Selection Assistant

让需求变成可修改的筛选条件

依据已录入参数生成条件,结果可查看和修改。帧率与性能需核对实测,不能仅凭算力数值保证。