Leum chun t-susbaint

Chrono Edit

Amalaich

ID a’ mhodail chrono-edit
# 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/chrono-edit?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarrtas seo: $0.01 10 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
NVIDIA Deasachadh Ìomhaighean suas ri 720p #image-editing

Deasaiche ìomhaighean stèidhichte air stiùireadh le reusanachadh ùineail roghainneil agus modh turbo, toradh aig 480p no 720p

NVIDIA · Ìomhaigh

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Prompt a’ mìneachadh nan deasachaidhean ìomhaigh.

•riatanach image_url
Leig às faidhle, no

Ìomhaigh a chaidh a solar airson deasachaidh.

resolution bun-roghainn 480p

Dùmhlachd-bhreacaidh na h-ìomhaigh a thig às.

Adhartach output_format · num_inference_steps · guidance_scale · num_temporal_reasoning_steps · seed · enable_prompt_expansion · enable_temporal_reasoning · enable_safety_checker · turbo_mode
output_format bun-roghainn jpeg

Cruth faidhle na h-ìomhaigh a thig às.

bun-roghainn 8

Àireamh nan ceumannan co-dhùnaidh ri ruith.

bun-roghainn 1

Sgèile stiùiridh a thèid a chur an sàs rè inference.

bun-roghainn 8

Àireamh nan ceumannan a thèid a chleachdadh airson reusanachadh ùineail.

Sìol a thèid a chleachdadh rè inference.

POST /run/chrono-edit?wait=20 tuairmse → $0.01
# 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/chrono-edit?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Chrono Edit

Deasaichidh e ìomhaigh bho bhrosnachadh teacsa, ag amas air atharrachaidhean a tha ciallach gu loidsigeach. Cuiridh `enable_temporal_reasoning` ceumannan reusanaidh ris (2 gu 12 tro `num_temporal_reasoning_steps`), agus tha `enable_prompt_expansion` agus `turbo_mode` air an comasachadh gu bunaiteach. Is e an rùn 480p no 720p, agus is e jpeg, png no webp cruth an toraidh.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
image_urlriatanach image
Seòrsaurl · image
Ìomhaigh a chaidh a solar airson deasachaidh.
promptriatanach
Seòrsastring
Prompt a’ mìneachadh nan deasachaidhean ìomhaigh.
num_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn8
2 – 50
Àireamh nan ceumannan co-dhùnaidh ri ruith.
guidance_scaleroghainneil
Seòrsanumber
Bun-roghainn1
0 – 10
Sgèile stiùiridh a thèid a chur an sàs rè inference.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainntrue
Smachd air a bheil leudachadh a’ phrompt air a chomasachadh.
enable_temporal_reasoningroghainneil
Seòrsaboolean
Bun-roghainnfalse
Smachd air a bheil reusanachadh ùineail air a chomasachadh.
num_temporal_reasoning_stepsroghainneil
Seòrsainteger
Bun-roghainn8
2 – 12
Àireamh nan ceumannan a thèid a chleachdadh airson reusanachadh ùineail.
resolutionroghainneil
Seòrsaenum
Bun-roghainn480p
480p720p
Dùmhlachd-bhreacaidh na h-ìomhaigh a thig às.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Toglaich sgrùdaidh sàbhailteachd nach eilear a’ toirt urram don t-suidheachadh dheth ach airson chunntasan ùghdarraichte. Thèid sgrùdaidhean sàbhailteachd a dhèanamh air gach iarrtas gun ùghdarras mar sin.
seedroghainneil
Seòrsainteger | null
Sìol a thèid a chleachdadh rè inference.
output_formatroghainneil
Seòrsaenum
Bun-roghainnjpeg
jpegpngwebp
Cruth faidhle na h-ìomhaigh a thig às.
turbo_moderoghainneil
Seòrsaboolean
Bun-roghainntrue
Toglaich modh Turbo airson inference a luathachadh.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "chrono-edit",
  "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": 10,
    "usd": "0.01",
    "charged": 10,
    "refunded": 0
  },
  "input": {
    "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
      }
    ],
    "prompt": "The user wants to add a surfer to the wave in the illustration while preserving the original ukiyo-e woodblock art style. The surfer should be depicted mid-action, crouched low on a modern-style surfboard, carving through the crest of the wave with one arm extended for balance and the other gripping the board. Their wavy hair and athletic physique should match the dynamic motion. The background must remain unchanged, including the iconic Mount Fuji and the traditional Japanese text, to maintain the artwork's historical aesthetic and composition.",
    "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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size, width, height}Ìomhaigh a thig às an deasachadh.
prompt
stringPrompt a thèid a thoirt don phròiseas inference.
seed
integerSìol a thèid a chleachdadh rè inference.

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/chrono-edit.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt