GPT-Генерация изображений [Неофициальный]
Generate images based on text prompts and image resources
Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Вы можете получить API-ключ в TTAPI Dashboard.
Body
Text prompt for image generation. Since this is a reverse-engineered model, it's recommended to include keywords in your prompt such as: "draw a xxx", "generate a", 'draw a xxx', Language is not restricted; OpenAI itself supports multilingual models with excellent Chinese support.
Supported models
gpt-4o-image, gpt-image-1, gpt-image-1.5, gpt-image-2 Reference image array
[
"https://cdn.ttapi.io/xxx1.png",
"https://cdn.ttapi.io/xxx2.png"
]Callback notification URL. When task completes or fails, this URL will be notified. Notification data structure [blocked] is consistent with fetch structure. If not set, you need to request the fetch endpoint [blocked] for query