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

# GPT-Image 官转提示词上限实测为 8192 tokens，超出不报错会乱出图

> 实测 gpt-image-2 与 gpt-image-2.5 系列官转的提示词有效上限是 8192 tokens，中文约 1.1 万字。超出后原厂不报错，而是静默忽略整段提示词、随机出一张无关的图。概览与长提示词篇已同步更新。

**2026/10/17 00:25 (UTC+8)** · 文档更新 · OpenAI

📚 **GPT-Image 官转提示词的有效上限是 8,192 tokens，超出不报错，会静默忽略整段提示词、随机出图**

2026-10-16 实测官转 `gpt-image-2` 与 `gpt-image-2.5` 系列：8,121 tokens 的提示词正常出图；约 8,350 tokens 起原厂不报 400，而是把提示词整段丢掉，出一张与提示词无关的图（常见写实人像、室内场景），`usage.input_tokens_details.text_tokens` 只记 8。官方文档写的 32,000 字符对英文大致等价，但中文约 1.1 万字就会触线。

使用建议：

* 中文提示词控制在 1 万字以内，重复的角色设定、排版规则最占长度；角色外观可改用参考图承载
* 出图和提示词毫不相干时，先看这次的 `text_tokens` 是否为个位数
* 长资料先用文本模型提炼再出图，做法见 [长提示词篇](/api-capabilities/image-long-prompt)

[GPT-Image 2.5 / 2 概览](/api-capabilities/gpt-image-2/overview) 的「提示词上限」与常见问题已同步更新。

***

← [返回实时动态](/live) · 📚 [按月归档](/live/archive)


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