Dža ko lil

IP Adapter Face ID

Integriruj

Modelosko id ip-adapter-face-id
# 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/ip-adapter-face-id?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: ≈$0.06 60 API krediti · ≈ ₽6.33 Phir les kate

Lel API klidin
Tencent Editime e kipesko #ip-adapter#personalization#customization#editing

Kerel patrinà save lačhon jekhe mujese andar jekh foto vaj zip fotosar, SD 1.5 vaj SDXL base-enca

Tencent · 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

Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.

standardno 4

Sampleengo ginadi vaś face ID, standardno 4. Buteder samples lačaren kipeski quality numa lungarel keripasko vaxt.

Lučhe negative_prompt · face_image_url · model_type · face_images_data_url · base_1_5_model_repo · base_sdxl_model_repo · guidance_scale · num_inference_steps · width · height · face_id_det_size · seed · enable_safety_checker
standardno blurry, low resolutio...

Negativno prompto savo phenel save detajura na kamen pe o kipo. Šaj te isključil boje, objektura, pejzažo vaj maj cikne detajura thaj kvalitetura, sar mustaći, mutno dikhimos vaj teluni rezolucija.

Čhiv jekh fajl, vaj

Face-matching reference kipo, scale-kerdo thaj crop-kerdo pe 640x640 kana o dimensions na si kadala.

model_type standardno 1_5-v1

Modelo selection, 1_5 si standardno thaj rekomendime vaś buteder uses.

Face-image zip archive URL, përdžardo te kerelpe lačeder face ID averagingsa e embeddings-engo ande archive kipa.

standardno SG161222/Realistic_Vi...

Base 1.5 modelosko URL; standardno si `SG161222/Realistic_Vision_V4.0_noVAE`.

standardno SG161222/RealVisXL_V3.0

Base SDXL modelosko URL; standardno si `SG161222/RealVisXL_V3.0`.

standardno 7.5

Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).

standardno 50

Gendo e inferencake stepengo vaš kipo keripe; maj bare genda den maj lačhi kipo kvaliteta, numa lengo keripe si maj lungo.

standardno 512

Width e rezultatoske kipesko.

standardno 512

Height e rezultatoske kipesko.

standardno 640

Set e face detection modeloski size; cikneder les te o modelo na arakhel muj ande tiro kipo. Baro setting del lačeder detection, numa kerelpe lokheder thaj si buteder šaj te na arakhel muj nikad.

Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.

POST /run/ip-adapter-face-id?wait=20 hesab → $0.06
# 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/ip-adapter-face-id?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.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 IP Adapter Face ID

Personalizisarel generacija mujese dino sar `face_image_url`, vaj zip-eha bute mujesar prek `face_images_data_url`, savenge embeddings si average-ime. `model_type` alosarel SD 1.5 thaj SDXL variantà maškar, thaj base checkpoint-à šaj te promeninen repo-parametra. `width` thaj `height` džan 512 to 1024, thaj `num_inference_steps` dži 200.

Parametra

NavTip standardnoMuklo Vakeripe
model_typeopcionalno
Tipenum
standardno1_5-v1
1_5-v11_5-v1-plus1_5-v2-plusSDXL-v1SDXL-v2-plus1_5-auraface-v1
Modelo selection, 1_5 si standardno thaj rekomendime vaś buteder uses.
prompttrubul
Tipstring
Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.
face_image_urlopcionalno
Tipurl · image
Face-matching reference kipo, scale-kerdo thaj crop-kerdo pe 640x640 kana o dimensions na si kadala.
face_images_data_urlopcionalno
Tipstring | null
Face-image zip archive URL, përdžardo te kerelpe lačeder face ID averagingsa e embeddings-engo ande archive kipa.
negative_promptopcionalno
Tipstring
standardnoblurry, low resolution, bad, ugly, low quality, pixelated, interpolated, compression artifacts, noisey, grainy
Negativno prompto savo phenel save detajura na kamen pe o kipo. Šaj te isključil boje, objektura, pejzažo vaj maj cikne detajura thaj kvalitetura, sar mustaći, mutno dikhimos vaj teluni rezolucija.
seedopcionalno
Tipinteger | null
Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.
guidance_scaleopcionalno
Tipnumber
standardno7.5
0 – 16
Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).
num_inference_stepsopcionalno
Tipinteger
standardno50
1 – 200
Gendo e inferencake stepengo vaš kipo keripe; maj bare genda den maj lačhi kipo kvaliteta, numa lengo keripe si maj lungo.
num_samplesopcionalno
Tipinteger
standardno4
1 – 4
Sampleengo ginadi vaś face ID, standardno 4. Buteder samples lačaren kipeski quality numa lungarel keripasko vaxt.
widthopcionalno
Tipinteger
standardno512
512 – 1,024
Width e rezultatoske kipesko.
heightopcionalno
Tipinteger
standardno512
512 – 1,024
Height e rezultatoske kipesko.
face_id_det_sizeopcionalno
Tipinteger
standardno640
64 – 640
Set e face detection modeloski size; cikneder les te o modelo na arakhel muj ande tiro kipo. Baro setting del lačeder detection, numa kerelpe lokheder thaj si buteder šaj te na arakhel muj nikad.
base_1_5_model_repoopcionalno
Tipstring
standardnoSG161222/Realistic_Vision_V4.0_noVAE
Base 1.5 modelosko URL; standardno si `SG161222/Realistic_Vision_V4.0_noVAE`.
base_sdxl_model_repoopcionalno
Tipstring
standardnoSG161222/RealVisXL_V3.0
Base SDXL modelosko URL; standardno si `SG161222/RealVisXL_V3.0`.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ip-adapter-face-id",
  "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": 60,
    "usd": "0.06",
    "charged": 60,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "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
image
object {url, content_type, file_name, file_size, width, height}Informacia e fajloski vaš o kerdo kipo.
seed
integerKipo-generiripeqo seed, inkludirindoj o randomno kidlo valoro kana o inputo na sas seed; averčes, repetirisar o dindo valoro.

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