Op den Inhalt sprangen

Omnilottie

Integréieren

Modell-ID omnilottie
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro: 0,05 $ 50 API-Kreditter · ≈ 5,33 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Open model Aner #lottie

Erstellt eng Lottie-Animatiouns-JSON-Datei aus enger Textbeschreiwung

Open model · Datei

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 88 / 2000

Text, deen déi gewënschte Lottie-Animatioun beschreift.

Erweidert max_tokens · temperature · top_p · top_k
Standard 4096

Uewergrenz vun de generéierte Lottie-Token.

Standard 0.9

Temperatur, déi beim Sampling während der Generatioun benotzt gëtt.

Standard 0.25

Wahrscheinlechkeetsgrenz fir Nucleus-Sampling.

Standard 5

Astellung fir Top-k-Sampling.

POST /run/omnilottie?wait=20 Präis → 0,05 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Omnilottie

Generéiert eng Lottie-Animatioun aus engem Text-`prompt` vu bis zu 2,000 Zeechen, zeréckginn als JSON-Datei. D'Generatioun gëtt duerch `max_tokens` (256 bis 8192), `temperature`, `top_p` an `top_k` kontrolléiert. Et hëlt keen Bild- oder Videoinput un.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 2.000 Zeechen
Text, deen déi gewënschte Lottie-Animatioun beschreift.
max_tokensoptional
Typinteger
Standard4096
256 – 8.192
Uewergrenz vun de generéierte Lottie-Token.
temperatureoptional
Typnumber
Standard0.9
0 – 2
Temperatur, déi beim Sampling während der Generatioun benotzt gëtt.
top_poptional
Typnumber
Standard0.25
0 – 1
Wahrscheinlechkeetsgrenz fir Nucleus-Sampling.
top_koptional
Typinteger
Standard5
1 – 100
Astellung fir Top-k-Sampling.
obligatoresch

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
lottie_file
object {url, content_type, file_name, file_size}JSON-Datei mat der generéierter Lottie-Animatioun.

Méi Modeller: Aner

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/omnilottie.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt