שפּרינגען צו אינהאַלט

FLUX.2 [pro]

אינטעגרירן

מאָדעל־id flux-2-pro
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-2-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra-stylized high-fashion editorial poster of a confident young Asian female model standing in the center frame, elegant pose, glossy radiant skin, soft dewy makeup, long silky black hair with wispy bangs, wearing modern trendy K-fashion streetwear with premium styling details. Clean studio lighting with high-contrast fashion flash photography, sharp focus, ultra-detailed textures, cinematic composition. Background filled with vibrant retro pop-art magazine aesthetics, layered graphic typography, dynamic UI-inspired design elements, holographic chrome effects, stickers (stars, hearts, sparkles), barcode strips, speech bubbles, and futuristic collage layering. Japanese and Korean-inspired typographic accents integrated as visual design elements. Overall mood combines nostalgic 2000s teen fashion magazine energy with modern luxury editorial campaign style. Bold color harmony, premium print aesthetic, ultra crisp details, fashion advertising quality, 8K resolution, highly polished commercial poster look, surreal yet stylish, trend-forward global fashion branding vibe."
  }'

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

פֿײַלן ווי דער בײַשפּיל: ⁨$ 0.03⁩ 30 API־קרעדיטן אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Black Forest Labs טעקסט צו בילד #photorealism#commercial#premium

Black Forest Labs' פּראָדוקציע־מאָדעל FLUX.2, אָפּטימיזירט פֿאַר אויסגעפּוצטע, פֿאָטאָרעאַליסטישע רעזולטאַטן אָן אַדזשאַסטיר־קנעפּלעך.

בײַשפּילן

אויסגאַבע · ~25 s
Ultra-stylized high-fashion editorial poster of a confident young Asian female model standing in the center frame, el...

פּראָמפּטUltra-stylized high-fashion editorial poster of a confident young Asian female model standing in the center frame, elegant pose, glossy radiant skin, soft dewy makeup, long silky black hair with wispy bangs, wearing modern trendy K-fashion streetwear with premium styling details. Clean studio lighting with high-contrast fashion flash photography, sharp focus, ultra-detailed textures, cinematic composition. Background filled with vibrant retro pop-art magazine aesthetics, layered graphic typography, dynamic UI-inspired design elements, holographic chrome effects, stickers (stars, hearts, sparkles), barcode strips, speech bubbles, and futuristic collage layering. Japanese and Korean-inspired typographic accents integrated as visual design elements. Overall mood combines nostalgic 2000s teen fashion magazine energy with modern luxury editorial campaign style. Bold color harmony, premium print aesthetic, ultra crisp details, fashion advertising quality, 8K resolution, highly polished commercial poster look, surreal yet stylish, trend-forward global fashion branding vibe.

⁨$ 0.03⁩ · 30 API־קרעדיטן

פּראָמפּט פֿון @SadiaMalik182 אויף X

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט

פּראָמפּט וואָס פירט בילד־גענערירונג.

image_size סטאַנדאַרט landscape_4_3

דימענסיעס פֿונעם גענערירטן בילד.

פֿאָרגעשריטן safety_tolerance · output_format · seed
safety_tolerance סטאַנדאַרט 2

זיכערהייט־באַשטעטיקונג פֿאַר גענערירטן בילד, מיט טאָלעראַנץ פֿון מאַקסימום ליבעראַליטעט ביי 5 ביז מאַקסימום שטרענגקייט ביי 1.

output_format סטאַנדאַרט jpeg

פֿײַל־פֿאָרמאַט פון דעם רעזולטירנדיקן בילד.

סיד־ווערט פֿאַר גענערירונג.

POST /run/flux-2-pro?wait=20 פּרײַז → ⁨$ 0.03⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-2-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra-stylized high-fashion editorial poster of a confident young Asian female model standing in the center frame, elegant pose, glossy radiant skin, soft dewy makeup, long silky black hair with wispy bangs, wearing modern trendy K-fashion streetwear with premium styling details. Clean studio lighting with high-contrast fashion flash photography, sharp focus, ultra-detailed textures, cinematic composition. Background filled with vibrant retro pop-art magazine aesthetics, layered graphic typography, dynamic UI-inspired design elements, holographic chrome effects, stickers (stars, hearts, sparkles), barcode strips, speech bubbles, and futuristic collage layering. Japanese and Korean-inspired typographic accents integrated as visual design elements. Overall mood combines nostalgic 2000s teen fashion magazine energy with modern luxury editorial campaign style. Bold color harmony, premium print aesthetic, ultra crisp details, fashion advertising quality, 8K resolution, highly polished commercial poster look, surreal yet stylish, trend-forward global fashion branding vibe."
  }'

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

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן FLUX.2 [pro]

די מאַנאַדזשד פּראָ־ראַנג פֿון FLUX.2: קיין צאָל שריט אָדער גיידאַנס צו פֿײַנשטעלן — נאָר אַ פּראָמפּט און אַ גרייס, מיט רעזולטאַטן פֿאַר קאמערציעלע פֿאָטאָגראַפֿיע, פּראָדוקט־בילדער און קאַמפּאַניע־וויסואַלן. איין בילד פּער בקשה אין אַ פּריסעט־ אָדער אייגענער גרייס, JPEG אָדער PNG. אַ זוימען מאַכט די רעזולטאַטן איבערחזרבאַר.

פּאַראַמעטערס

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
פּראָמפּט וואָס פירט בילד־גענערירונג.
image_sizeאָפּציאָנעל
טיפּobject
סטאַנדאַרטlandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
דימענסיעס פֿונעם גענערירטן בילד.
seedאָפּציאָנעל
טיפּinteger | null
סיד־ווערט פֿאַר גענערירונג.
safety_toleranceאָפּציאָנעל
טיפּenum
סטאַנדאַרט2
12345
זיכערהייט־באַשטעטיקונג פֿאַר גענערירטן בילד, מיט טאָלעראַנץ פֿון מאַקסימום ליבעראַליטעט ביי 5 ביז מאַקסימום שטרענגקייט ביי 1.
output_formatאָפּציאָנעל
טיפּenum
סטאַנדאַרטjpeg
jpegpng
פֿײַל־פֿאָרמאַט פון דעם רעזולטירנדיקן בילד.
פארלאנגט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-2-pro",
  "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": 30,
    "usd": "0.03",
    "charged": 30,
    "refunded": 0
  },
  "input": {
    "prompt": "Studio product photo of a ceramic coffee cup on a linen napkin, morning window light, soft shadows",
    "image_size": "square_hd"
  },
  "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
      }
    ],
    "seed": 42
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
images
array of object {url, content_type, file_name, file_size, width, height}בילדער געשאַפֿן דורך דעם מאָדעל.
seed
integerסיד־ווערט גענוצט בעת גענערירונג.

מער מאָדעלן: טעקסט צו בילד

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/flux-2-pro.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt