Op den Inhalt sprangen

FLUX 2 Lora Gallery Hdr Style

Integréieren

Modell-ID flux-2-lora-gallery/hdr-style
# 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-lora-gallery/hdr-style?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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro: 0,021 $ 21 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
Black Forest Labs · Bild

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

HDR-Bildprompt, deen automatesch 'Hyp3rRe4list1c' als Ausléiserwuert um Ufank kritt.

image_size Standard landscape_4_3

Dimensioune vum generéierte Bild.

num_images Standard 1

Zuel vun de Biller, déi erstallt ginn.

Erweidert acceleration · output_format · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
acceleration Standard regular

Beschleunegungsastellung fir d'Bildgeneratioun. Wielt 'regular' fir e Gläichgewiicht tëscht Geschwindegkeet a Qualitéit.

output_format Standard png

Format vum resultéierende Bild.

Standard 2.5

Prompt-Konformitéit mat enger CFG-Skala, wou CFG fir Classifier Free Guidance steet.

Standard 40

Unzuel vun Inferenz-Schrëtt, déi ausgefouert ginn.

Standard 1

Intensitéit vum HDR-Styling-Effekt.

Zoufällege Generatiounsseed, mat deem e Resultat reproduzéiert ka ginn, wann de Prompt an de Seed onverännert bleiwen.

POST /run/flux-2-lora-gallery/hdr-style?wait=20 Präis → 0,021 $
# 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-lora-gallery/hdr-style?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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer FLUX 2 Lora Gallery Hdr Style

Erstellt hyperrealistesch Biller am HDR-Stil aus engem Text-`prompt`. D'Trigger-Wuert 'Hyp3rRe4list1c' gëtt automatesch virugestallt a muss net aginn ginn. `lora_scale` (0 bis 2) kontrolléiert d'Stäerkt vum Look. Wielt aus sechs Gréisst-Presets (Standard landscape_4_3) a generéiert 1 bis 4 Biller.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
HDR-Bildprompt, deen automatesch 'Hyp3rRe4list1c' als Ausléiserwuert um Ufank kritt.
image_sizeoptional
Typobject
Standardlandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimensioune vum generéierte Bild.
guidance_scaleoptional
Typnumber
Standard2.5
0 – 20
Prompt-Konformitéit mat enger CFG-Skala, wou CFG fir Classifier Free Guidance steet.
num_inference_stepsoptional
Typinteger
Standard40
4 – 50
Unzuel vun Inferenz-Schrëtt, déi ausgefouert ginn.
accelerationoptional
Typenum
Standardregular
noneregular
Beschleunegungsastellung fir d'Bildgeneratioun. Wielt 'regular' fir e Gläichgewiicht tëscht Geschwindegkeet a Qualitéit.
seedoptional
Typinteger | null
Zoufällege Generatiounsseed, mat deem e Resultat reproduzéiert ka ginn, wann de Prompt an de Seed onverännert bleiwen.
enable_safety_checkeroptional
Typboolean
Standardtrue
Schalter fir d'Sécherheetskontroll vu generéierte Biller, deen nëmmen autoriséiert Konten deaktivéiere kënnen. Kontrollen bleiwen obligatoresch fir Ufroen ouni Autorisatioun.
output_formatoptional
Typenum
Standardpng
pngjpegwebp
Format vum resultéierende Bild.
num_imagesoptional num_outputs
Typinteger
Standard1
1 – 4
Zuel vun de Biller, déi erstallt ginn.
lora_scaleoptional
Typnumber
Standard1
0 – 2
Intensitéit vum HDR-Styling-Effekt.
obligatoresch Kanoneschen Numm, och akzeptéiert

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-2-lora-gallery/hdr-style",
  "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": 21,
    "usd": "0.021",
    "charged": 21,
    "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
      }
    ],
    "seed": 42,
    "prompt": "string"
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
images
array of object {url, content_type, file_name, file_size, width, height}Output-Biller mat HDR-Styling.
seed
integerSeed-Wäert, dee während der Generatioun benotzt gëtt.
prompt
stringPrompt, deen an der Generatioun benotzt gouf.

Méi Modeller: Text zu Bild

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/flux-2-lora-gallery/hdr-style.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt