Мазмұнға өту

Omnilottie

Интеграциялау

Модель идентификаторы 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"

Осы сұрау: 0,05 $ 50 API кредиті Осы бетте іске қосу

API кілтін алу
Open model Басқа #lottie

Мәтіндік сипаттамадан Lottie анимациясының JSON файлын жасайды

Open model · Файл

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті 88 / 2000

Қалаған Lottie анимациясын сипаттайтын мәтін.

Қосымша max_tokens · temperature · top_p · top_k
әдепкі 4096

Генерацияланатын Lottie токендерінің жоғарғы шегі.

әдепкі 0.9

Генерация кезінде сэмплингке қолданылатын температура.

әдепкі 0.25

Nucleus сэмплингінің ықтималдық шегі.

әдепкі 5

Top-k сэмплингіне арналған баптау.

POST /run/omnilottie?wait=20 бағасы → 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Omnilottie туралы

2000 таңбаға дейінгі мәтіндік `prompt` арқылы Lottie анимациясын жасап, JSON файлы ретінде қайтарады. Генерация `max_tokens` (256-8192), `temperature`, `top_p` және `top_k` арқылы басқарылады. Сурет немесе бейне кірісін қабылдамайды.

Параметрлер

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті
Түріstring
≤ 2 000 таңба
Қалаған Lottie анимациясын сипаттайтын мәтін.
max_tokensміндетті емес
Түріinteger
Әдепкі4096
256 – 8 192
Генерацияланатын Lottie токендерінің жоғарғы шегі.
temperatureміндетті емес
Түріnumber
Әдепкі0.9
0 – 2
Генерация кезінде сэмплингке қолданылатын температура.
top_pміндетті емес
Түріnumber
Әдепкі0.25
0 – 1
Nucleus сэмплингінің ықтималдық шегі.
top_kміндетті емес
Түріinteger
Әдепкі5
1 – 100
Top-k сэмплингіне арналған баптау.
міндетті

Шығыс

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"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
lottie_file
object {url, content_type, file_name, file_size}Генерацияланған Lottie анимациясы бар JSON файл.

Қосымша модельдер: Басқа

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/omnilottie.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt