Мазмұнға өту

Fibo Lite

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

Модель идентификаторы bria/fibo-lite/generate
# 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/bria/fibo-lite/generate?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,036 $ 36 API кредиті Осы бетте іске қосу

API кілтін алу
Bria AI Мәтіннен кескінге Жылдам #bria#fibo#lite

Құрылымдалған сұрауларды және қосымша эталондық кескінді қолдайтын жылдам әрі жеңіл мәтіннен кескін моделі

Bria AI · Кескін

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

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

Сұрау жасау

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

Генерация үшін пайдаланылатын нұсқау.

aspect_ratio әдепкі 1:1

Кескіннің арақатынасы; қолжетімді мәндер: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.

Қосымша image · seed · structured_prompt
image_url
Файлды тастаңыз немесе

Кіріс кескінінің URL мекенжайы.

әдепкі 7

Кездейсоқ сандар генераторы пайдаланатын seed.

Генерация үшін пайдаланылатын құрылымдалған нұсқау.

POST /run/bria/fibo-lite/generate?wait=20 бағасы → 0,036 $
# 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/bria/fibo-lite/generate?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 кілтін алу

Fibo Lite туралы

Fibo-ның жеңіл нұсқасы `prompt` немесе `structured_prompt` арқылы, сондай-ақ қосымша `image_url` енгізуімен кескін жасайды. Параметрлері: `seed` (әдепкі 7) және тоғыз мәннің ішінен таңдалатын `aspect_ratio`. Ажыратымдылық пен қадам басқаруы жоқ; құрылымдалған сұрау кескінмен бірге қайтарылады.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті емес
Түріstring | null
Генерация үшін пайдаланылатын нұсқау.
structured_promptміндетті емес
Түріobject
Генерация үшін пайдаланылатын құрылымдалған нұсқау.
structured_prompt.short_descriptionміндетті
Түріstring
Кескін мазмұнының 200 сөзбен шектелген қысқаша сипаттамасы.
structured_prompt.objectsміндетті
Түріobject[]
Алдыңғы немесе ортаңғы пландағы маңызды нысандар тізімі.
structured_prompt.objects[].descriptionміндетті
Түріstring
Нысанды сипаттайтын қысқаша қорытынды.
structured_prompt.objects[].locationміндетті
Түріstring
Орналасуы, мысалы: 'center', 'top-left' немесе 'bottom-right foreground'.
structured_prompt.objects[].relationshipміндетті
Түріstring
Осы нысанның кескін ішіндегі басқа нысандармен байланысын сипаттаңыз.
structured_prompt.objects[].relative_sizeміндетті емес
Түріstring | null
Өлшемі, мысалы: 'small', 'medium' немесе 'large within frame'.
structured_prompt.objects[].shape_and_colorміндетті емес
Түріstring | null
Нысанның негізгі пішіні мен түсі.
structured_prompt.objects[].textureміндетті емес
Түріstring | null
Текстурасы, мысалы: 'smooth', 'rough', 'metallic' немесе 'furry'.
structured_prompt.objects[].appearance_detailsміндетті емес
Түріstring | null
Назар аударуға тұрарлық қосымша көрнекі белгілер.
structured_prompt.objects[].number_of_objectsміндетті емес
Түріinteger | null
Кластер ішіндегі нысандар саны.
structured_prompt.objects[].poseміндетті емес
Түріstring | null
Дененің орналасуы.
structured_prompt.objects[].expressionміндетті емес
Түріstring | null
Беттегі көрініп тұрған эмоция.
structured_prompt.objects[].clothingміндетті емес
Түріstring | null
Киілген киім.
structured_prompt.objects[].actionміндетті емес
Түріstring | null
Адам орындайтын әрекет.
structured_prompt.objects[].genderміндетті емес
Түріstring | null
Адамның жынысы.
structured_prompt.objects[].skin_tone_and_textureміндетті емес
Түріstring | null
Терінің реңкі мен текстурасы.
structured_prompt.objects[].orientationміндетті емес
Түріstring | null
Адамның бағыты.
structured_prompt.background_settingміндетті
Түріstring
Сахнаның толық сипаттамасы: оның орны, айналасы немесе фоны және назар аударуға тұрарлық фондық ерекшеліктер.
structured_prompt.lightingміндетті
Түріobject
Жарықты сипаттайтын ақпарат.
structured_prompt.lighting.conditionsміндетті
Түріstring
Жарық мысалдары: 'bright daylight', 'dim indoor', 'studio lighting' және 'golden hour'.
structured_prompt.lighting.directionміндетті
Түріstring
Жарық бағыты; мысалдар: 'front-lit', 'backlit' және 'side-lit from left'.
structured_prompt.lighting.shadowsміндетті емес
Түріstring | null
Бар көлеңкелердің сипаттамасы.
structured_prompt.aestheticsміндетті
Түріobject
Кескіннің эстетикасын сипаттайтын ақпарат.
structured_prompt.aesthetics.compositionміндетті
Түріstring
Композиция стилі; мысалдар: 'rule of thirds', 'symmetrical', 'centered' және 'leading lines'.
structured_prompt.aesthetics.color_schemeміндетті
Түріstring
Түс схемасы; мысалдар: 'monochromatic blue', 'warm complementary colors' және 'high contrast'.
structured_prompt.aesthetics.mood_atmosphereміндетті
Түріstring
Көңіл күйі немесе атмосферасы, мысалы `joyful`, `serene`, `mysterious` немесе `energetic`.
structured_prompt.aesthetics.aesthetic_scoreміндетті
Түріstring
Баға сипаттамасы, мысалы medium, very low, low, very high немесе high.
structured_prompt.aesthetics.preference_scoreміндетті
Түріstring
Баға сипаттамасы, мысалы medium, very low, low, very high немесе high.
structured_prompt.photographic_characteristicsміндетті емес
Түріobject
Фотографиялық сипаттарды сипаттайтын ақпарат.
structured_prompt.photographic_characteristics.depth_of_fieldміндетті
Түріstring
Өріс тереңдігі; мысалдар: 'shallow', 'deep' және 'bokeh background'.
structured_prompt.photographic_characteristics.focusміндетті
Түріstring
Фокус сипаттары; мысалдар: 'sharp focus on subject', 'soft focus' және 'motion blur'.
structured_prompt.photographic_characteristics.camera_angleміндетті
Түріstring
Камера бұрышы; мысалдар: 'eye-level', 'low angle', 'high angle' және 'dutch angle'.
structured_prompt.photographic_characteristics.lens_focal_lengthміндетті
Түріstring
Объектив түрі немесе фокустық қашықтық, мысалы `macro`, `fisheye`, `wide-angle` немесе `telephoto`.
structured_prompt.style_mediumміндетті емес
Түріstring | null
Пайдаланылған көркемдік орта немесе стиль.
structured_prompt.text_renderміндетті емес
Түріobject[]
Кескін ішінде көрсетілген мәтін элементтерінің тізімі.
structured_prompt.text_render[].textміндетті
Түріstring
Мәтін мазмұны.
structured_prompt.text_render[].locationміндетті
Түріstring
Орналасуы, мысалы: 'center', 'top-left' немесе 'bottom-right foreground'.
structured_prompt.text_render[].sizeміндетті
Түріstring
Өлшемі, мысалы: 'small', 'medium' немесе 'large within frame'.
structured_prompt.text_render[].colorміндетті
Түріstring
Түсі, мысалы `green`, `red` немесе `blue`.
structured_prompt.text_render[].fontміндетті
Түріstring
Қаріп стилі, мысалы `minimalist`, `realistic` немесе `cartoonish`.
structured_prompt.text_render[].appearance_detailsміндетті емес
Түріstring | null
Назар аударуға тұрарлық қосымша көрнекі белгілер.
structured_prompt.contextміндетті
Түріstring
Кескінді түсіндіруге көмектесетін қосымша контекст.
structured_prompt.artistic_styleміндетті
Түріstring
Ең көбі 3 сөзбен берілген нақты көркемдік белгілер.
structured_prompt.subject_emotionsміндетті емес
Түріstring | null
Нысандардың көрінетін эмоциялары немесе бет әлпеттерінің нақты сипаттамасы.
image_urlміндетті емес image
Түріurl · image
Кіріс кескінінің URL мекенжайы.
seedміндетті емес
Түріinteger
Әдепкі7
Кездейсоқ сандар генераторы пайдаланатын seed.
aspect_ratioміндетті емес
Түріenum
Әдепкі1:1
1:12:33:23:44:34:55:49:1616:9
Кескіннің арақатынасы; қолжетімді мәндер: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың file_url мәнін қабылдайды. Файлдар

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo-lite/generate",
  "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": 36,
    "usd": "0.036",
    "charged": 36,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "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
    },
    "images": [
      {}
    ],
    "structured_prompt": {
      "short_description": "string",
      "objects": [
        {
          "description": "string",
          "location": "string",
          "relationship": "string",
          "relative_size": "string",
          "shape_and_color": "string",
          "texture": "string",
          "appearance_details": "string",
          "number_of_objects": 1,
          "pose": "string",
          "expression": "string",
          "clothing": "string",
          "action": "string",
          "gender": "string",
          "skin_tone_and_texture": "string",
          "orientation": "string"
        }
      ],
      "background_setting": "string",
      "lighting": {
        "conditions": "string",
        "direction": "string",
        "shadows": "string"
      },
      "aesthetics": {
        "composition": "string",
        "color_scheme": "string",
        "mood_atmosphere": "string",
        "aesthetic_score": "string",
        "preference_score": "string"
      },
      "photographic_characteristics": {
        "depth_of_field": "string",
        "focus": "string",
        "camera_angle": "string",
        "lens_focal_length": "string"
      },
      "style_medium": "string",
      "text_render": [
        {
          "text": "string",
          "location": "string",
          "size": "string",
          "color": "string",
          "font": "string",
          "appearance_details": "string"
        }
      ],
      "context": "string",
      "artistic_style": "string",
      "subject_emotions": "string"
    }
  },
  "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"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
image
object {url, content_type, file_name, file_size, width, height}Модель жасаған кескін.
images
array of objectГенерация нәтижесінде алынған кескіндер.
structured_prompt
object {short_description, objects, background_setting, lighting, aesthetics, photographic_characteristics, style_medium, text_render, context, artistic_style, subject_emotions}Қазір қолданылып жатқан нұсқау.

Қосымша модельдер: Мәтіннен кескінге

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