Dža ko lil

Omni Zero

Integriruj

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

Kava mangipen: ≈$0.073 73 API krediti Phir les kate

Lel API klidin
Open model Editime e kipesko #style-transfer

Phandel separatno kompozicija-, stilo- thaj identiteta-referenca-kipa ande jekh neve kipo

Open model · 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 savo dikhel kiposkoro keripe.

•trubul image_url
Čhiv jekh fajl, vaj

URL e inputoske kipesko.

•trubul
Čhiv jekh fajl, vaj

URL vaš kompozicijakoro kipo.

•trubul
Čhiv jekh fajl, vaj

URL stiloskere kipostar.

•trubul
Čhiv jekh fajl, vaj

URL identitetoskere kipostar.

standardno 1

Kiponge gin vaš keripe.

Lučhe negative_prompt · image_strength · composition_strength · depth_strength · style_strength · face_strength · identity_strength · guidance_scale · seed · enable_safety_checker
standardno

Negative prompto savo dikhel kiposkoro keripe.

standardno 0.75

Zor kiposkera influencakiri.

standardno 1

Zor kompozicijakiri influencakiri.

standardno 0.5

Zor depth influencakiri.

standardno 1

Zor stiloskera influencakiri.

standardno 1

Zor mujaskeri influencakiri.

standardno 1

Zor identitetoskera influencakiri.

standardno 5

Scale aplikime guidance-este.

standardno 42

Seed random generatorostar.

POST /run/omni-zero?wait=20 hesab → $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"

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 Omni Zero

Jekh stilizirime kipo-generator savo kampel jekh `prompt` thaj štarta kipa: `image_url`, `composition_image_url`, `style_image_url` thaj `identity_image_url`. Separatne zorake vrednostura (kipo, composition, depth, stilo, face thaj identity) balancisin lengi zor. Si les vi `negative_prompt`, `guidance_scale`, `seed` thaj `number_of_images`.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Prompto savo dikhel kiposkoro keripe.
negative_promptopcionalno
Tipstring
standardno
Negative prompto savo dikhel kiposkoro keripe.
image_urltrubul image
Tipurl · image
URL e inputoske kipesko.
composition_image_urltrubul
Tipurl · image
URL vaš kompozicijakoro kipo.
style_image_urltrubul
Tipurl · image
URL stiloskere kipostar.
identity_image_urltrubul
Tipurl · image
URL identitetoskere kipostar.
image_strengthopcionalno
Tipnumber
standardno0.75
Zor kiposkera influencakiri.
composition_strengthopcionalno
Tipnumber
standardno1
Zor kompozicijakiri influencakiri.
depth_strengthopcionalno
Tipnumber
standardno0.5
Zor depth influencakiri.
style_strengthopcionalno
Tipnumber
standardno1
Zor stiloskera influencakiri.
face_strengthopcionalno
Tipnumber
standardno1
Zor mujaskeri influencakiri.
identity_strengthopcionalno
Tipnumber
standardno1
Zor identitetoskera influencakiri.
guidance_scaleopcionalno
Tipnumber
standardno5
Scale aplikime guidance-este.
seedopcionalno
Tipinteger
standardno42
Seed random generatorostar.
number_of_imagesopcionalno
Tipinteger
standardno1
Kiponge gin vaš keripe.
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

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": "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"
  }
}
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}Kipo kerdo le modelostar.

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