Naar inhoud springen

Chrono Edit

Integreren

Model-ID 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"

Deze request: $ 0,01 10 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
NVIDIA Afbeelding bewerken tot 720p #image-editing

Instructiegebaseerde beeldbewerker met optionele temporele redenering en turbomodus, met uitvoer in 480p of 720p

NVIDIA · Afbeelding

Je eerste resultaat komt hier

Bouw hieronder een request en voer die uit met je API-sleutel. Uitvoer wordt naar onze opslag gekopieerd en voor altijd of 7 dagen gratis bewaard.

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht

Prompt die de afbeeldingsbewerkingen beschrijft.

•verplicht image_url
Sleep een bestand hierheen of

Afbeelding die voor bewerking wordt aangeleverd.

resolution standaard 480p

Resolutie van de resulterende afbeelding.

Geavanceerd 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 standaard jpeg

Bestandsindeling van de resulterende afbeelding.

standaard 8

Aantal uit te voeren inferentiestappen.

standaard 1

Begeleidingsschaal die tijdens inferentie wordt toegepast.

standaard 8

Aantal stappen voor temporeel redeneren.

Seed die tijdens inferentie wordt gebruikt.

POST /run/chrono-edit?wait=20 prijsopgave → $ 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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Over Chrono Edit

Bewerkt een afbeelding op basis van een tekstprompt en streeft naar logisch consistente wijzigingen. `enable_temporal_reasoning` voegt redeneerstappen toe (2 tot 12 via `num_temporal_reasoning_steps`) en `enable_prompt_expansion` en `turbo_mode` zijn standaard ingeschakeld. De resolutie is 480p of 720p en het uitvoerformaat is jpeg, png of webp.

Parameters

Stuur de canonieke naam of de oorspronkelijke naam, niet beide. Canonieke namen

NaamType StandaardToegestaan Beschrijving
image_urlverplicht image
Typeurl · image
Afbeelding die voor bewerking wordt aangeleverd.
promptverplicht
Typestring
Prompt die de afbeeldingsbewerkingen beschrijft.
num_inference_stepsoptioneel
Typeinteger
Standaard8
2 – 50
Aantal uit te voeren inferentiestappen.
guidance_scaleoptioneel
Typenumber
Standaard1
0 – 10
Begeleidingsschaal die tijdens inferentie wordt toegepast.
enable_prompt_expansionoptioneel
Typeboolean
Standaardtrue
Bepaalt of promptuitbreiding is ingeschakeld.
enable_temporal_reasoningoptioneel
Typeboolean
Standaardfalse
Bepaalt of temporeel redeneren is ingeschakeld.
num_temporal_reasoning_stepsoptioneel
Typeinteger
Standaard8
2 – 12
Aantal stappen voor temporeel redeneren.
resolutionoptioneel
Typeenum
Standaard480p
480p720p
Resolutie van de resulterende afbeelding.
enable_safety_checkeroptioneel
Typeboolean
Standaardtrue
Schakelaar voor veiligheidscontrole waarvan de uitgeschakelde instelling alleen voor geautoriseerde accounts wordt gerespecteerd. Alle requests zonder die autorisatie ondergaan veiligheidscontroles.
seedoptioneel
Typeinteger | null
Seed die tijdens inferentie wordt gebruikt.
output_formatoptioneel
Typeenum
Standaardjpeg
jpegpngwebp
Bestandsindeling van de resulterende afbeelding.
turbo_modeoptioneel
Typeboolean
Standaardtrue
Schakelaar voor de turbomodus om inferentie te versnellen.
verplicht Canonieke naam, ook geaccepteerd

Bestandsparameters accepteren een openbare https:// URL, een data: URI tot 10 MB of de file_url van een upload. Bestanden

Uitvoer

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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
images
array of object {url, content_type, file_name, file_size, width, height}Afbeelding die uit de bewerking resulteert.
prompt
stringPrompt die aan het inferentieproces wordt doorgegeven.
seed
integerSeed die tijdens inferentie wordt gebruikt.

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/chrono-edit.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt