Dža ko lil

Marigold V2 Depth

Integriruj

Modelosko id marigold-v2
# 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/marigold-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.03 30 API krediti Phir les kate

Lel API klidin
Open model Editime e kipesko #depth#utility

Slikarikani analiza vaš depth, transparentno depth, normalura vaj albedo mapura andar jekh slikari

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 image_url
Čhiv jekh fajl, vaj

URL e inputoske kipesko.

image_size

Dimenzie e inference-eske; te na den, vaze o inputosko kiposki dimenzija, palal roundingo sakone dimenzijako ko paše multiple e 16-esko. Specifiči preset sar `"square_hd"` vaj `"landscape_4_3"`, vaj den `{width, height}` objektos. Width thaj height trubun te aven delitelne 16-esa, khonik na tromal te avel bareder sar 2048 pixels, thaj o ratio trubul te avel maškar 1:16 thaj 16:1.

Lučhe prediction_type · seed · enable_safety_checker
prediction_type standardno depth

Tip e prediction mapesko savo kerelpe.

Random seed savo kerel o rezultato reproducibilno kana o jekhto kipo pale përdolpe. Leski zor si limitime ko VAE-encoder latent sampling, kaj o forward pass si jek deterministiko step.

POST /run/marigold-v2?wait=20 hesab → $0.03
# 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/marigold-v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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 Marigold V2 Depth

Jekhatarikane kipatar map andazarel. `prediction_type` tharel depth, see-through-depth, normals vaj albedo. Rezultato si PNG vizualizacia, na numeriko tensor. `image_size` shaj te avel preset vaj width/height objekto, 16-kerde multiplikane dži 2048, thaj `seed` kerel te aven rezultata te paleharen.

Parametra

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

NavTip standardnoMuklo Vakeripe
prediction_typeopcionalno
Tipenum
standardnodepth
depthsee-through-depthnormalsalbedo
Tip e prediction mapesko savo kerelpe.
image_urltrubul image
Tipurl · image
URL e inputoske kipesko.
image_sizeopcionalno
Tipobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimenzie e inference-eske; te na den, vaze o inputosko kiposki dimenzija, palal roundingo sakone dimenzijako ko paše multiple e 16-esko. Specifiči preset sar `"square_hd"` vaj `"landscape_4_3"`, vaj den `{width, height}` objektos. Width thaj height trubun te aven delitelne 16-esa, khonik na tromal te avel bareder sar 2048 pixels, thaj o ratio trubul te avel maškar 1:16 thaj 16:1.
seedopcionalno
Tipinteger | null
Random seed savo kerel o rezultato reproducibilno kana o jekhto kipo pale përdolpe. Leski zor si limitime ko VAE-encoder latent sampling, kaj o forward pass si jek deterministiko step.
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": "marigold-v2",
  "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": 30,
    "usd": "0.03",
    "charged": 30,
    "refunded": 0
  },
  "input": {
    "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
    },
    "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.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}Prediction renderime sar PNG vaš dikhipen; e response na del lossless numericko tensor kroz kada kipo.
seed
integerSeed savo përdolpe kana sampling-uile latentura ko VAE encoder.

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