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

Flux 3 Action

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

मॉडल id flux-3-action/so101
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-3-action/so101?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",
    "scene_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "wrist_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "state": [
      -18.94,
      134.52,
      120.15,
      28.3,
      -32.17,
      27.02
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध: ≈$0.003 3 API क्रेडिट इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Black Forest Labs वीडियो से वीडियो #robotic#arm

रोबोट पॉलिसी मॉडल जो कैमरा फ़्रेम, जॉइंट स्थिति और निर्देश से SO-101 आर्म के एक्शन चंक्स का अनुमान लगाता है

Black Forest Labs · डेटा (JSON)

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

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

अनुरोध बनाएँ

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

•आवश्यक 88 / 2000

प्राकृतिक भाषा में व्यक्त रोबोट कार्य निर्देश।

•आवश्यक
फ़ाइल ड्रॉप करें, या

256x256 में आकार बदलने के बाद स्थिर दृश्य कैमरा के वर्तमान फ़्रेम को दिखाने वाली बाएँ टाइल की इमेज।

•आवश्यक
फ़ाइल ड्रॉप करें, या

वर्तमान कलाई-कैमरा फ़्रेम, दाएँ टाइल में रखा गया और 256x256 में आकार बदला गया।

•आवश्यक

क्रम में मापे गए state मान: कंधे का pan और lift, कोहनी का flex, कलाई का flex और roll, सभी डिग्री में, इसके बाद gripper की स्थिति प्रतिशत में।

उन्नत history_scene_image_url · history_wrist_image_url · num_inference_steps · guidance_scale · seed · state_history · command_history
फ़ाइल ड्रॉप करें, या

`state_history` आवश्यक करने वाला ऐतिहासिक scene-frame इनपुट; इसे छोड़ने पर वर्तमान फ़्रेम का उपयोग होता है। दी गई फ़्रेम 7 ticks पहले की सबसे पुरानी history observation को दर्शाती है।

फ़ाइल ड्रॉप करें, या

सबसे पुराने history tick का कलाई-कैमरा फ़्रेम; `state_history` आवश्यक है।

डिफ़ॉल्ट 4

Euler denoising steps की संख्या; checkpoint validation में 4 steps का उपयोग किया गया।

डिफ़ॉल्ट 3

वीडियो और action दोनों के लिए classifier-free guidance strength; CFG अक्षम करने के लिए 1.0 सेट करें।

DROID के reference-evaluation settings में 0 और SO-101 में 42 वाली sampling seed। इसे निर्दिष्ट न करने पर seed यादृच्छिक रूप से चुनी जाती है।

मापे गए state का इतिहास, नए episode के लिए छोड़ा जाता है और अन्यथा `command_history` आवश्यक होता है। `state` से ठीक पहले के 7 control ticks के माप 30 Hz पर कालानुक्रमिक क्रम में दें।

`state_history` आवश्यक करने वाला absolute-command इतिहास, जिसमें सबसे हाल में भेजा गया command अंतिम पंक्ति में हो। पंक्तियाँ 8 observation ticks में कालानुक्रमिक क्रम से होती हैं और प्रत्येक tick पर प्रभावी command निर्दिष्ट करती हैं।

POST /run/flux-3-action/so101?wait=20 कोटेशन → $0.003
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/flux-3-action/so101?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",
    "scene_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "wrist_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "state": [
      -18.94,
      134.52,
      120.15,
      28.3,
      -32.17,
      27.02
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Flux 3 Action के बारे में

मीडिया के बजाय, यह अनुमानित `actions`, उनकी कंट्रोल दर, कॉलम लेबल और नए चंक का अनुरोध करने से पहले निष्पादित किए जाने वाले शुरुआती स्टेप्स की संख्या (`execute_steps`) वाला JSON लौटाता है। आवश्यक इनपुट टेक्स्ट `prompt` (अधिकतम 2000 वर्ण), `scene_image_url`, `wrist_image_url` और 6 मानों वाली `state` हैं। वैकल्पिक इतिहास इनपुट (`state_history`, `command_history`, इतिहास इमेज) समय-संदर्भ देते हैं। `num_inference_steps` 1 से 8 तक और `guidance_scale` 1 से 10 तक चलता है।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 2,000 अक्षर
प्राकृतिक भाषा में व्यक्त रोबोट कार्य निर्देश।
scene_image_urlआवश्यक
प्रकारurl · image
256x256 में आकार बदलने के बाद स्थिर दृश्य कैमरा के वर्तमान फ़्रेम को दिखाने वाली बाएँ टाइल की इमेज।
wrist_image_urlआवश्यक
प्रकारurl · image
वर्तमान कलाई-कैमरा फ़्रेम, दाएँ टाइल में रखा गया और 256x256 में आकार बदला गया।
stateआवश्यक
प्रकारnumber[]
≤ 6 आइटम≥ 6 आइटम
क्रम में मापे गए state मान: कंधे का pan और lift, कोहनी का flex, कलाई का flex और roll, सभी डिग्री में, इसके बाद gripper की स्थिति प्रतिशत में।
state_historyवैकल्पिक
प्रकारarray[]
≤ 7 आइटम≥ 7 आइटम
मापे गए state का इतिहास, नए episode के लिए छोड़ा जाता है और अन्यथा `command_history` आवश्यक होता है। `state` से ठीक पहले के 7 control ticks के माप 30 Hz पर कालानुक्रमिक क्रम में दें।
command_historyवैकल्पिक
प्रकारarray[]
≤ 8 आइटम≥ 8 आइटम
`state_history` आवश्यक करने वाला absolute-command इतिहास, जिसमें सबसे हाल में भेजा गया command अंतिम पंक्ति में हो। पंक्तियाँ 8 observation ticks में कालानुक्रमिक क्रम से होती हैं और प्रत्येक tick पर प्रभावी command निर्दिष्ट करती हैं।
history_scene_image_urlवैकल्पिक
प्रकारurl · image
`state_history` आवश्यक करने वाला ऐतिहासिक scene-frame इनपुट; इसे छोड़ने पर वर्तमान फ़्रेम का उपयोग होता है। दी गई फ़्रेम 7 ticks पहले की सबसे पुरानी history observation को दर्शाती है।
history_wrist_image_urlवैकल्पिक
प्रकारurl · image
सबसे पुराने history tick का कलाई-कैमरा फ़्रेम; `state_history` आवश्यक है।
num_inference_stepsवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट4
1 – 8
Euler denoising steps की संख्या; checkpoint validation में 4 steps का उपयोग किया गया।
guidance_scaleवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट3
1 – 10
वीडियो और action दोनों के लिए classifier-free guidance strength; CFG अक्षम करने के लिए 1.0 सेट करें।
seedवैकल्पिक
प्रकारinteger | null
DROID के reference-evaluation settings में 0 और SO-101 में 42 वाली sampling seed। इसे निर्दिष्ट न करने पर seed यादृच्छिक रूप से चुनी जाती है।
आवश्यक

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

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-3-action/so101",
  "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": 3,
    "usd": "0.003",
    "charged": 3,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "scene_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "wrist_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "state": [
      -18.94,
      134.52,
      120.15,
      28.3,
      -32.17,
      27.02
    ]
  },
  "output": {
    "actions": [
      [
        1.0
      ]
    ],
    "action_labels": [
      "string"
    ],
    "action_hz": 1.0,
    "execute_steps": 1,
    "seed": 42,
    "timings": {}
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
actions
array of array of numberकालानुक्रमिक पंक्तियों वाली predicted action array, जो control steps दर्शाती है; मान unclipped होते हैं, इसलिए robot पर joint, velocity और workspace limits लागू करनी होंगी। 30 Hz पर SO-101, deg और gripper % में 42x6 absolute commands देता है; 15 Hz पर DROID, rad में 32x8 absolute joint targets और gripper का closed fraction देता है।
action_labels
array of stringaction columns से संबंधित नाम।
action_hz
numberaction rows की control frequency।
execute_steps
integerदूसरा chunk मांगने से पहले निष्पादित की जाने वाली शुरुआती actions की संख्या।
seed
integersampling के दौरान उपयोग की गई random seed।
timings
objectसर्वर से प्राप्त timing measurements, सेकंड में व्यक्त।

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