Мазмұнға өту

GPT Image 2.5 Sunburst Text to Image

Интеграциялау

Модель идентификаторы openai/gpt-image-2.5/sunburst/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/openai/gpt-image-2.5/sunburst/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Осы сұрау: ≈0,054 $ 54 API кредиті Осы бетте іске қосу

API кілтін алу
OpenAI Мәтіннен кескінге #realism#typography#stylized

xhigh/max сапасы, 10 кескінге дейін және қысуды басқаруы бар GPT Image 2.5 Sunburst мәтіннен кескін жасау моделі

Doitong-та жасалған

Doitong қауымдастығы GPT Image 2.5 арқылы жасаған жария жұмыстары. Промптты бір рет басу арқылы қайта пайдаланыңыз.

Көрсетілген жария жұмыстар: 16
A polished studio concept art board — a single composite page that reads as a high-end pre-produc...

A polished studio concept art board — a single composite page that reads as a high-end pre-production pitch deck for an animated short. NOT a vintage pencil sketch, NOT a finished movie frame, but a polished concept page in the visual treatment described below. Layout: TOP HEADER (left): bold...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxur...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь орие...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь ориентироваться по стилю на фото 1. Текст на этикетке: производитель ИП Стрини Ю.Л. «соломка горбуши», состав: рыба горбуша, соль, сахар, специи. Срок хранения при t не от 0 до -3 60 суток. Вес: 500гр

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxu...

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті 88 / 32000

Кескіндер жасауға арналған нұсқау.

image_size әдепкі landscape_4_3

Шығыс өлшемдері алдын ала орнатылған атауды, {width, height} нысанын немесе модель таңдаған ең жақсы өлшем үшін 'auto' мәнін қабылдайды. Нақты өлшемдер 16-ға бөлінуі, жиектері 3840px-ден аспауы, арақатынасы ең көбі 3:1 және жалпы пиксель саны 655,360–8,294,400 болуы керек.

num_images әдепкі 1

Жасалатын кескіндер саны.

Қосымша background · quality · output_format · output_compression · enable_safety_checker
background әдепкі auto

Нәтижелік кескіннің фоны.

quality әдепкі high

Кескін сапасын таңдау; 'auto' шешімді модельге береді. Жоғары баптаулардағы қосымша деталь ұзағырақ кідіріс пен көбірек токен пайдалануға әкеледі.

output_format әдепкі png

Шығыс кескіндерінің файл пішімі.

'jpeg' немесе 'webp' output_format үшін ғана қолжетімді қысу баптауы; рұқсат етілген ауқымы 0–100.

POST /run/openai/gpt-image-2.5/sunburst/text-to-image?wait=20 бағасы → 0,054 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/openai/gpt-image-2.5/sunburst/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

GPT Image 2.5 Sunburst Text to Image туралы

Ұзындығы 32000 таңбаға дейінгі промпттардан кескін жасайды. Сапа auto, low, medium, high, xhigh және max мәндерін ұсынады; жоғары мәндер детализация мен кідірісті арттырады. `num_images` 10-ға дейін, ал 0-ден 100-ге дейінгі `output_compression` jpeg және webp үшін қолданылады. Өлшемдер алдын ала орнатылған мәндермен, auto немесе нақты өлшемдермен беріледі.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті
Түріstring
≤ 32 000 таңба
Кескіндер жасауға арналған нұсқау.
image_sizeміндетті емес
Түріobject
Әдепкіlandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto
Шығыс өлшемдері алдын ала орнатылған атауды, {width, height} нысанын немесе модель таңдаған ең жақсы өлшем үшін 'auto' мәнін қабылдайды. Нақты өлшемдер 16-ға бөлінуі, жиектері 3840px-ден аспауы, арақатынасы ең көбі 3:1 және жалпы пиксель саны 655,360–8,294,400 болуы керек.
backgroundміндетті емес
Түріenum
Әдепкіauto
autotransparentopaque
Нәтижелік кескіннің фоны.
qualityміндетті емес
Түріenum
Әдепкіhigh
autolowmediumhighxhighmax
Кескін сапасын таңдау; 'auto' шешімді модельге береді. Жоғары баптаулардағы қосымша деталь ұзағырақ кідіріс пен көбірек токен пайдалануға әкеледі.
num_imagesміндетті емес num_outputs
Түріinteger
Әдепкі1
1 – 10
Жасалатын кескіндер саны.
output_formatміндетті емес
Түріenum
Әдепкіpng
jpegpngwebp
Шығыс кескіндерінің файл пішімі.
output_compressionміндетті емес
Түріinteger | null
0 – 100
'jpeg' немесе 'webp' output_format үшін ғана қолжетімді қысу баптауы; рұқсат етілген ауқымы 0–100.
enable_safety_checkerміндетті емес
Түріboolean
Әдепкіtrue
Шақырушы авторизацияланған болса, false мәнін орнату арқылы тексеруді жеңілдетуге болады.
міндетті Канондық атау, бұл да қабылданады

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "openai/gpt-image-2.5/sunburst/text-to-image",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 54,
    "usd": "0.054",
    "charged": 54,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
images
array of object {url, content_type, file_name, file_size, width, height}Модель жасаған кескіндер.

Қосымша модельдер: Мәтіннен кескінге

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/openai/gpt-image-2.5/sunburst/text-to-image.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt