Saltar al cuntegna

Omnilottie

Integrar

ID dal model omnilottie
# 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/omnilottie?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"
  }'

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

Questa dumonda: $0,05 50 credits API Lantschar sin questa pagina

Obtegna ina clav API
Open model Auter #lottie

Crea in datoteca JSON d'animaziun Lottie dad ina descripziun textual

Open model · Datoteca

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 88 / 2000

Text che descriva l’animaziun Lottie giavischada.

Avanzà max_tokens · temperature · top_p · top_k
standard 4096

Limita superiura dals tokens Lottie generads.

standard 0.9

Temperatura utilisada durant il sampling da la generaziun.

standard 0.25

Limita da probabilitad per il nucleus sampling.

standard 5

Configuraziun per il top-k sampling.

POST /run/omnilottie?wait=20 calculaziun → $0,05
# 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/omnilottie?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"
  }'

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

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Omnilottie

Generescha in'animaziun Lottie dad in `prompt` textual da maximalmain 2,000 caracters, restituida sco datoteca JSON. La generaziun vegn dirigida cun `max_tokens` (256 fin 8192), `temperature`, `top_p` e `top_k`. Ella n'accepta nagin input da maletg u video.

Parameters

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 2 000 caracters
Text che descriva l’animaziun Lottie giavischada.
max_tokensopziunal
Tipinteger
Standard4096
256 – 8 192
Limita superiura dals tokens Lottie generads.
temperatureopziunal
Tipnumber
Standard0.9
0 – 2
Temperatura utilisada durant il sampling da la generaziun.
top_popziunal
Tipnumber
Standard0.25
0 – 1
Limita da probabilitad per il nucleus sampling.
top_kopziunal
Tipinteger
Standard5
1 – 100
Configuraziun per il top-k sampling.
obligatori

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "omnilottie",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "lottie_file": {
      "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
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
lottie_file
object {url, content_type, file_name, file_size}Datoteca JSON che cuntegna l’animaziun Lottie generada.

Dapli models: Auter

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/omnilottie.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt