الانتقال إلى الوثائق
فتح لوحة التحكم
في هذه الصفحة

تحسين الأوامر

اطلع على خيارات التحسين وأرسل أمرًا واسترجع النتيجة المحفوظة.

الإعدادات#

curl -X POST 'https://platform.tongai.io/v1/tools/tong_enhancement_config/operations' \  -H "Authorization: Bearer $TONG_API_KEY" \  -H "Content-Type: application/json" \  -d '{  "input": {}}'
الإعدادات
curl --version

تحسين أمر#

curl -X POST 'https://platform.tongai.io/v1/tools/tong_enhancement_submit/operations' \  -H "Authorization: Bearer $TONG_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: 45be69f1-c266-4a09-a82c-bf3c6303eb03" \  -d '{  "input": {    "body": {      "prompt": "aaaa",      "context": {        "workflow": "TEXT_TO_IMAGE",        "model": "aaaa"      }    }  }}'
الإعدادات
curl --version

جلب الأمر المحسّن#

curl -X POST 'https://platform.tongai.io/v1/tools/tong_enhancement_get/operations' \  -H "Authorization: Bearer $TONG_API_KEY" \  -H "Content-Type: application/json" \  -d '{  "input": {    "params": {      "id": "aaaaaaaaaaaaaaaaaaaaaaaa"    }  }}'
الإعدادات
curl --version