सामग्री पर जाएँ

Fibo · Structured Prompt

इंटीग्रेट करें

मॉडल id bria/fibo/generate/structured_prompt
# 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/generate/structured_prompt?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.01 10 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Bria AI LLM #bria#fibo#structured-prompting

प्रॉम्प्ट या रेफ़रेंस इमेज को इमेज रेंडर करने के बजाय Fibo के संरचित JSON विवरण में बदलता है

Bria AI · डेटा (JSON)

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

इमेज बनाने के लिए उपयोग किया गया प्रॉम्प्ट।

उन्नत image · seed · structured_prompt
image_url
फ़ाइल ड्रॉप करें, या

फ़ाइल या URL के रूप में दी गई संदर्भ इमेज।

डिफ़ॉल्ट 5555

दोहराए जा सकने वाले परिणामों के लिए यादृच्छिकता नियंत्रित करने वाला सीड।

इमेज निर्माण के लिए उपयोग किया गया संरचित प्रॉम्प्ट।

POST /run/bria/fibo/generate/structured_prompt?wait=20 कोटेशन → $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/bria/fibo/generate/structured_prompt?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"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Fibo · Structured Prompt के बारे में

भाषा-मॉडल शैली का एंडपॉइंट, जो स्वयं इमेज के बजाय उसके लिए संरचित प्रॉम्प्ट लौटाता है। इनपुट में `prompt`, मौजूदा `structured_prompt` या रेफ़रेंस `image_url`, साथ ही `seed` होता है। JSON आउटपुट में सौंदर्यगत विशेषताएँ, लाइटिंग, ऑब्जेक्ट, फ़ोटोग्राफ़िक विशेषताएँ, संक्षिप्त विवरण, स्टाइल माध्यम और रेंडर किया जाने वाला टेक्स्ट जैसे फ़ील्ड शामिल होते हैं।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptवैकल्पिक
प्रकारstring | null
इमेज बनाने के लिए उपयोग किया गया प्रॉम्प्ट।
structured_promptवैकल्पिक
प्रकारobject
इमेज निर्माण के लिए उपयोग किया गया संरचित प्रॉम्प्ट।
structured_prompt.short_descriptionवैकल्पिक
प्रकारstring | null
वांछित आउटपुट इमेज का संक्षिप्त वर्णन।
structured_prompt.objectsवैकल्पिक
प्रकारobject[]
डिफ़ॉल्ट[]
निर्मित इमेज की सामग्री को सूची के रूप में निर्दिष्ट करें, जिसमें प्रत्येक ऑब्जेक्ट की विशेषताएँ और दर्शाए गए अन्य ऑब्जेक्ट के साथ उसके संबंध दर्ज हों।
structured_prompt.objects[].descriptionवैकल्पिक
प्रकारstring | null
वांछित आउटपुट ऑब्जेक्ट का वर्णन।
structured_prompt.objects[].locationवैकल्पिक
प्रकारstring | null
इमेज के भीतर ऑब्जेक्ट की स्थिति।
structured_prompt.objects[].relationshipआवश्यक
प्रकारstring
इमेज के अन्य ऑब्जेक्ट के साथ ऑब्जेक्ट का संबंध।
structured_prompt.objects[].relative_sizeवैकल्पिक
प्रकारstring | null
इमेज के सापेक्ष ऑब्जेक्ट का आकार।
structured_prompt.objects[].shape_and_colorवैकल्पिक
प्रकारstring | null
ऑब्जेक्ट का आकार और रंग।
structured_prompt.objects[].textureवैकल्पिक
प्रकारstring | null
ऑब्जेक्ट की बनावट।
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 | null
निर्मित इमेज की पृष्ठभूमि सेटिंग।
structured_prompt.lightingवैकल्पिक
प्रकारobject
निर्मित इमेज के लिए प्रकाश व्यवस्था।
structured_prompt.lighting.conditionsवैकल्पिक
प्रकारstring | null
निर्मित इमेज की प्रकाश स्थितियाँ।
structured_prompt.lighting.directionवैकल्पिक
प्रकारstring | null
निर्मित इमेज में प्रकाश की दिशा।
structured_prompt.lighting.shadowsवैकल्पिक
प्रकारstring | null
निर्मित इमेज में दर्शाई जाने वाली छायाएँ।
structured_prompt.aestheticsवैकल्पिक
प्रकारobject
निर्मित इमेज के सौंदर्य गुण।
structured_prompt.aesthetics.compositionवैकल्पिक
प्रकारstring | null
निर्मित इमेज की संरचना।
structured_prompt.aesthetics.color_schemeवैकल्पिक
प्रकारstring | null
निर्मित इमेज का रंग पैलेट।
structured_prompt.aesthetics.mood_atmosphereवैकल्पिक
प्रकारstring | null
निर्मित इमेज का भाव और वातावरण।
structured_prompt.aesthetics.aesthetic_scoreवैकल्पिक
प्रकारstring | null
बनाई जा रही इमेज का सौंदर्य स्कोर।
structured_prompt.aesthetics.preference_scoreवैकल्पिक
प्रकारstring | null
बनाई जा रही इमेज का प्राथमिकता स्कोर।
structured_prompt.photographic_characteristicsवैकल्पिक
प्रकारobject
निर्मित इमेज के फ़ोटोग्राफ़िक गुण।
structured_prompt.photographic_characteristics.depth_of_fieldवैकल्पिक
प्रकारstring | null
निर्मित इमेज की डेप्थ ऑफ़ फ़ील्ड।
structured_prompt.photographic_characteristics.focusवैकल्पिक
प्रकारstring | null
निर्मित इमेज का फ़ोकस।
structured_prompt.photographic_characteristics.camera_angleवैकल्पिक
प्रकारstring | null
निर्मित इमेज का कैमरा कोण।
structured_prompt.photographic_characteristics.lens_focal_lengthवैकल्पिक
प्रकारstring | null
निर्मित इमेज की लेंस सेटिंग, फोकल लंबाई के रूप में व्यक्त।
structured_prompt.style_mediumवैकल्पिक
प्रकारstring | null
निर्मित इमेज का शैलीगत माध्यम।
structured_prompt.text_renderवैकल्पिक
प्रकारany[]
डिफ़ॉल्ट[]
इमेज में शामिल की जाने वाली टेक्स्ट प्रविष्टियों की सूची।
structured_prompt.contextवैकल्पिक
प्रकारstring | null
निर्मित इमेज का संदर्भ।
structured_prompt.artistic_styleवैकल्पिक
प्रकारstring | null
निर्मित इमेज की कलात्मक शैली।
structured_prompt.trigger_wordवैकल्पिक
प्रकारstring | null
structured_prompt.sub_trigger_wordवैकल्पिक
प्रकारstring | null
structured_prompt.art_directionवैकल्पिक
प्रकारstring | null
structured_prompt.action_descriptionवैकल्पिक
प्रकारstring | null
structured_prompt.actor_prefixवैकल्पिक
प्रकारstring | null
image_urlवैकल्पिक image
प्रकारurl · image
फ़ाइल या URL के रूप में दी गई संदर्भ इमेज।
seedवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट5555
दोहराए जा सकने वाले परिणामों के लिए यादृच्छिकता नियंत्रित करने वाला सीड।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bria/fibo/generate/structured_prompt",
  "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": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "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": [],
    "context": "string",
    "artistic_style": "string"
  },
  "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-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
short_description
string | nullवांछित आउटपुट इमेज का संक्षिप्त वर्णन।
objects
array of object {description, location, relationship, relative_size, shape_and_color, texture, appearance_details, number_of_objects, pose, expression, clothing, action, gender, skin_tone_and_texture, orientation} | nullनिर्मित इमेज की सामग्री को सूची के रूप में निर्दिष्ट करें, जिसमें प्रत्येक ऑब्जेक्ट की विशेषताएँ और दर्शाए गए अन्य ऑब्जेक्ट के साथ उसके संबंध दर्ज हों।
background_setting
string | nullनिर्मित इमेज की पृष्ठभूमि सेटिंग।
lighting
object {conditions, direction, shadows} | nullनिर्मित इमेज के लिए प्रकाश व्यवस्था।
aesthetics
object {composition, color_scheme, mood_atmosphere, aesthetic_score, preference_score} | nullनिर्मित इमेज के सौंदर्य गुण।
photographic_characteristics
object {depth_of_field, focus, camera_angle, lens_focal_length} | nullनिर्मित इमेज के फ़ोटोग्राफ़िक गुण।
style_medium
string | nullनिर्मित इमेज का शैलीगत माध्यम।
text_render
array of any | nullइमेज में शामिल की जाने वाली टेक्स्ट प्रविष्टियों की सूची।
context
string | nullनिर्मित इमेज का संदर्भ।
artistic_style
string | nullनिर्मित इमेज की कलात्मक शैली।

और मॉडल: LLM

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/bria/fibo/generate/structured_prompt.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt