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

Omni Zero

אינטעגרירן

מאָדעל־id omni-zero
# 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/omni-zero?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "composition_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "identity_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.073⁩ 73 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Open model בילד־עדיטירונג #style-transfer

פֿאַראייניקט באַזונדערע רעפֿערענץ־בילדער פֿאַר קאָמפּאָזיציע, סטיל און אידענטיטעט אין איין נײַ בילד

Open model · בילד

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

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

•פארלאנגט

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

•פארלאנגט image_url
לייגט אַרײַן אַ טעקע, אָדער

URL פֿונעם אַרײַנגעבונג־בילד.

•פארלאנגט
לייגט אַרײַן אַ טעקע, אָדער

URL פֿאַרן קאָמפּאָזיציע־בילד.

•פארלאנגט
לייגט אַרײַן אַ טעקע, אָדער

URL פֿונעם סטיל־בילד.

•פארלאנגט
לייגט אַרײַן אַ טעקע, אָדער

URL פֿונעם אידענטיטעט־בילד.

סטאַנדאַרט 1

צאָל בילדער צו גענערירן.

פֿאָרגעשריטן negative_prompt · image_strength · composition_strength · depth_strength · style_strength · face_strength · identity_strength · guidance_scale · seed · enable_safety_checker
סטאַנדאַרט

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

סטאַנדאַרט 0.75

שטאַרקייט פֿון דער השפּעה פֿונעם בילד.

סטאַנדאַרט 1

שטאַרקייט פֿון דער השפּעה פֿונעם קאָמפּאָזיציע.

סטאַנדאַרט 0.5

שטאַרקייט פֿון דער טיפֿקייט־השפּעה.

סטאַנדאַרט 1

שטאַרקייט פֿון דער סטיל־השפּעה.

סטאַנדאַרט 1

שטאַרקייט פֿון דער פּנים־השפּעה.

סטאַנדאַרט 1

שטאַרקייט פֿון דער אידענטיטעט־השפּעה.

סטאַנדאַרט 5

סקעיל געווענדט צו גיידאַנס.

סטאַנדאַרט 42

סיד פֿאַרן צופֿעליקן גענעראַטאָר.

POST /run/omni-zero?wait=20 פּרײַז → ⁨$ 0.073⁩
# 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/omni-zero?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "composition_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "identity_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

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

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

וועגן Omni Zero

אַ סטיליזירטער בילד־גענעראַטאָר וואָס דאַרף אַ `prompt` פּלוס פֿיר בילדער: `image_url`, `composition_image_url`, `style_image_url` און `identity_image_url`. באַזונדערע שטאַרקייט־ווערטלעך (בילד, קאָמפּאָזיציע, טיפקייט, סטיל, פּנים און אידענטיטעט) באַלאַנסירן זייער השפּעה. ער אָפפערט אויך `negative_prompt`, `guidance_scale`, `seed` און `number_of_images`.

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

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
פּראָמפּט וואָס פֿירט בילד־גענערירונג.
negative_promptאָפּציאָנעל
טיפּstring
סטאַנדאַרט
נעגאַטיווער פּראָמפּט וואָס פֿירט בילד־גענערירונג.
image_urlפארלאנגט image
טיפּurl · image
URL פֿונעם אַרײַנגעבונג־בילד.
composition_image_urlפארלאנגט
טיפּurl · image
URL פֿאַרן קאָמפּאָזיציע־בילד.
style_image_urlפארלאנגט
טיפּurl · image
URL פֿונעם סטיל־בילד.
identity_image_urlפארלאנגט
טיפּurl · image
URL פֿונעם אידענטיטעט־בילד.
image_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט0.75
שטאַרקייט פֿון דער השפּעה פֿונעם בילד.
composition_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
שטאַרקייט פֿון דער השפּעה פֿונעם קאָמפּאָזיציע.
depth_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט0.5
שטאַרקייט פֿון דער טיפֿקייט־השפּעה.
style_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
שטאַרקייט פֿון דער סטיל־השפּעה.
face_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
שטאַרקייט פֿון דער פּנים־השפּעה.
identity_strengthאָפּציאָנעל
טיפּnumber
סטאַנדאַרט1
שטאַרקייט פֿון דער אידענטיטעט־השפּעה.
guidance_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט5
סקעיל געווענדט צו גיידאַנס.
seedאָפּציאָנעל
טיפּinteger
סטאַנדאַרט42
סיד פֿאַרן צופֿעליקן גענעראַטאָר.
number_of_imagesאָפּציאָנעל
טיפּinteger
סטאַנדאַרט1
צאָל בילדער צו גענערירן.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
סקרינינג קען ווערן פאַרלייכטערט דורך שטעלן false, אויב דער רופער איז אָטעריזירט.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "omni-zero",
  "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": 73,
    "usd": "0.073",
    "charged": 73,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "composition_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "style_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "identity_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
    }
  },
  "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־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
image
object {url, content_type, file_name, file_size, width, height}בילד געשאַפֿן דורכן מאָדעל.

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