Dža ko lil

PuLID

Integriruj

Modelosko id pulid
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/pulid?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reference_images": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ],
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.009 9 API krediti · ≈ ₽0.95 Phir les kate

Lel API klidin
ByteDance Editime e kipesko Referencaki inputura #editing#customization#personalization

Generirinel neve čitre save astaren jekhe manušesko muj andar referencake fotura, bi per-manušeski tunirasa

ByteDance · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Prompto kasutime te generiruil pes o muj.

image_size standardno {"height":1024,"width...

Dimenzie generirime kipeske.

num_images standardno 1

Ginipen e kipesqo save te aven kerde.

•trubul

Referencengo mujengo kipesko lila; 4 kipa si idealno.

Lučhe negative_prompt · mode · guidance_scale · num_inference_steps · id_scale · seed · id_mix · enable_safety_checker
standardno flaws in the eyes, fl...

Negativno prompto vaš mujengo generiripe.

mode standardno fidelity

Generiripasko modo.

standardno 1.2

Skala vaš guidance.

standardno 4

Sa totalno kroki save te keren pes.

standardno 0.8

Skala vaš ID.

Seed istifado vaš reproducibilno randomno keripe.

POST /run/pulid?wait=20 hesab → $0.009
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/pulid?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reference_images": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ],
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal PuLID

Lel `reference_images` jekhe mujese (rekomendirin pes ande 4) thaj jekh `prompt`, palem kerel kipa save rakhaven e identiteta. `mode` si fidelity vaj extreme stilo, `id_scale` džal 0 dži 5, thaj `id_mix` mukel duj identitetenge milipe. Šaj te generirin pes dži 8 kipa, 1 dži 12 pasosa thaj `guidance_scale` 1 dži 1.5.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
reference_imagestrubul
Tipobject[]
Referencengo mujengo kipesko lila; 4 kipa si idealno.
reference_images[].image_urltrubul
Tipurl · image
Referencengo mujengo kipesko URL.
prompttrubul
Tipstring
Prompto kasutime te generiruil pes o muj.
negative_promptopcionalno
Tipstring
standardnoflaws in the eyes, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, text, watermark, glitch, deformed, mutated, ugly, disfigured, hands, low resolution, partially rendered objects, deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed,blurry
Negativno prompto vaš mujengo generiripe.
num_imagesopcionalno num_outputs
Tipinteger
standardno1
1 – 8
Ginipen e kipesqo save te aven kerde.
guidance_scaleopcionalno
Tipnumber
standardno1.2
1 – 1.5
Skala vaš guidance.
num_inference_stepsopcionalno
Tipinteger
standardno4
1 – 12
Sa totalno kroki save te keren pes.
seedopcionalno
Tipinteger | null
Seed istifado vaš reproducibilno randomno keripe.
image_sizeopcionalno
Tipobject
standardno{"height":1024,"width":768}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimenzie generirime kipeske.
id_scaleopcionalno
Tipnumber
standardno0.8
≤ 5> 0
Skala vaš ID.
modeopcionalno
Tipenum
standardnofidelity
fidelityextreme style
Generiripasko modo.
id_mixopcionalno
Tipboolean
standardnofalse
Te miksuil vaj na duj ID kipa. Aktivisar vaš miksipe; averčhane deaktivisar.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pulid",
  "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": 9,
    "usd": "0.009",
    "charged": 9,
    "refunded": 0
  },
  "input": {
    "reference_images": [
      {
        "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
      }
    ],
    "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
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
images
array of object {url, content_type, file_name, file_size, width, height}Generirime kipa, boldime sar lila.
seed
integerRandomno seed vaš rezultatosko reprodukciripe.

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/pulid.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt