API संदर्भ
OpenAI-संगत, Anthropic, Gemini और एसिंक्रोनस मीडिया वर्कफ़्लो में एक गेटवे और API कुंजी का उपयोग करें।
- सर्वर
https://api.anyint.cloudयह OpenAPI दस्तावेज़ सर्व करने वाला AnyInt गेटवे ओरिजिन।
81 एंडपॉइंट
चैट
2 एंडपॉइंटOpenAI-संगत संवादात्मक प्रतिक्रियाएं बनाएं।
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /openai/v1/chat/completionsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/chat/completions' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Explain edge computing in 2 sentences."
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Explain edge computing in 2 sentences."
}
]
}प्रतिक्रियाएँ
{
"id": "chatcmpl_example",
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Edge computing processes data near its source, reducing latency and bandwidth use."
},
"finish_reason": "stop"
}
]
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1/chat/completionsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/chat/completions' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Explain edge computing in 2 sentences."
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Explain edge computing in 2 sentences."
}
]
}प्रतिक्रियाएँ
{
"id": "chatcmpl_example",
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Edge computing processes data near its source, reducing latency and bandwidth use."
},
"finish_reason": "stop"
}
]
}प्रतिक्रियाएँ
2 एंडपॉइंटOpenAI Responses API आकार के साथ प्रतिक्रियाएं बनाएं।
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /openai/v1/responsesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/responses' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"input": "Write a short welcome message."
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"input": "Write a short welcome message."
}प्रतिक्रियाएँ
{
"id": "resp_example",
"object": "response",
"status": "completed"
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1/responsesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/responses' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"input": "Write a short welcome message."
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"input": "Write a short welcome message."
}प्रतिक्रियाएँ
{
"id": "resp_example",
"object": "response",
"status": "completed"
}Anthropic संदेश
4 एंडपॉइंटAnthropic-नेटिव संदेशों, टोकन गणना और मॉडल खोज का उपयोग करें।
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /anthropic/v1/messagesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/anthropic/v1/messages' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Explain edge computing briefly."
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Explain edge computing briefly."
}
]
}प्रतिक्रियाएँ
{
"id": "msg_example",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Edge computing runs workloads near the data source."
}
]
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/anthropic/v1/messages/count_tokens' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}प्रतिक्रियाएँ
{
"input_tokens": 12
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1/messagesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/messages' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Explain edge computing briefly."
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Explain edge computing briefly."
}
]
}प्रतिक्रियाएँ
{
"id": "msg_example",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Edge computing runs workloads near the data source."
}
]
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/messages/count_tokens' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}प्रतिक्रियाएँ
{
"input_tokens": 12
}Gemini सामग्री
8 एंडपॉइंटGemini-नेटिव सामग्री निर्माण और स्ट्रीमिंग का उपयोग करें।
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /gemini/v1beta/models/{model}/generateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/gemini/v1beta/models/<model>/generateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "Edge computing reduces latency."
}
]
}
}
]
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /gemini/v1beta/models/{model}/streamGenerateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/gemini/v1beta/models/<model>/streamGenerateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: text/event-stream' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| alt | query | string | वैकल्पिक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
data: {"candidates":[{"content":{"role":"model","parts":[{"text":"Edge computing reduces latency."}]}}]}
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /gemini/v1beta/models/{model}:generateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/gemini/v1beta/models/<model>:generateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "Edge computing reduces latency."
}
]
}
}
]
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /gemini/v1beta/models/{model}:streamGenerateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/gemini/v1beta/models/<model>:streamGenerateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: text/event-stream' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| alt | query | string | वैकल्पिक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
data: {"candidates":[{"content":{"role":"model","parts":[{"text":"Edge computing reduces latency."}]}}]}
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1beta/models/{model}/generateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1beta/models/<model>/generateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "Edge computing reduces latency."
}
]
}
}
]
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1beta/models/{model}/streamGenerateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1beta/models/<model>/streamGenerateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: text/event-stream' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| alt | query | string | वैकल्पिक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
data: {"candidates":[{"content":{"role":"model","parts":[{"text":"Edge computing reduces latency."}]}}]}
वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1beta/models/{model}:generateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1beta/models/<model>:generateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "Edge computing reduces latency."
}
]
}
}
]
}वर्णित ऑपरेशन करने के लिए इस एंडपॉइंट को कॉल करें।
POST /v1beta/models/{model}:streamGenerateContentअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1beta/models/<model>:streamGenerateContent' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: text/event-stream' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| model | path | string | आवश्यक | — |
| alt | query | string | वैकल्पिक | — |
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"contents": [
{
"parts": [
{
"text": "Explain edge computing briefly."
}
]
}
]
}प्रतिक्रियाएँ
data: {"candidates":[{"content":{"role":"model","parts":[{"text":"Edge computing reduces latency."}]}}]}
मॉडल
5 एंडपॉइंटप्रत्येक प्रोटोकॉल के माध्यम से उपलब्ध मॉडल खोजें।
अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/anthropic/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"data": [
{
"id": "your-model-id",
"type": "model",
"display_name": "Configured model",
"created_at": "2026-01-01T00:00:00.000Z"
}
],
"has_more": false,
"first_id": "your-model-id",
"last_id": "your-model-id"
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/gemini/v1beta/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"models": [
{
"name": "models/your-model-id",
"displayName": "Configured model",
"supportedGenerationMethods": [
"generateContent"
],
"inputTokenLimit": 8192,
"outputTokenLimit": 8192
}
]
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "your-model-id",
"object": "model",
"created": 1767225600,
"owned_by": "configured-provider"
}
]
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "your-model-id",
"object": "model",
"created": 1767225600,
"owned_by": "configured-provider"
}
]
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1beta/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "Edge computing reduces latency."
}
]
}
}
]
}एम्बेडिंग
2 एंडपॉइंटटेक्स्ट इनपुट से वेक्टर एम्बेडिंग बनाएं।
अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/embeddings' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"input": "A calm ocean at dawn"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"input": "A calm ocean at dawn"
}प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.012,
-0.008,
0.021
]
}
]
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/embeddings' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"input": "A calm ocean at dawn"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"input": "A calm ocean at dawn"
}प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.012,
-0.008,
0.021
]
}
]
}छवियाँ
5 एंडपॉइंटGenerate and edit images with OpenAI-compatible requests.
Accepts multipart uploaded images or nonstreaming JSON URL inputs. JSON requires model, prompt and 1-16 images with image_url; mask may contain one image_url. URL inputs use the selected upstream's native JSON Images API, so that channel must support URL edits. Model permissions, enterprise channel selection, funding and settlement apply to both inputs. URLs must use public HTTPS without embedded credentials; the gateway does not download them. Other native JSON parameters are preserved. gpt-image-2 defaults quality to medium. Malformed URL inputs, missing images, unsupported streaming, invalid image count and invalid quality return HTTP 400 before funding or provider dispatch.
POST /openai/v1/images/editsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/images/edits' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Combine these reference images on a soft blue background.",
"images": [
{
"image_url": "https://cdn.example.com/reference-1.png"
},
{
"image_url": "https://cdn.example.com/reference-2.png"
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Combine these reference images on a soft blue background.",
"images": [
{
"image_url": "https://cdn.example.com/reference-1.png"
},
{
"image_url": "https://cdn.example.com/reference-2.png"
}
]
}प्रतिक्रियाएँ
{
"created": 1700000000,
"data": [
{
"b64_json": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB"
}
]
}Accepts multipart uploaded images or nonstreaming JSON URL inputs. JSON requires model, prompt and 1-16 images with image_url; mask may contain one image_url. URL inputs use the selected upstream's native JSON Images API, so that channel must support URL edits. Model permissions, enterprise channel selection, funding and settlement apply to both inputs. URLs must use public HTTPS without embedded credentials; the gateway does not download them. Other native JSON parameters are preserved. gpt-image-2 defaults quality to medium. Malformed URL inputs, missing images, unsupported streaming, invalid image count and invalid quality return HTTP 400 before funding or provider dispatch.
POST /openai/v1/images/generationsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/images/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud",
"n": 1
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud",
"n": 1
}प्रतिक्रियाएँ
{
"created": 1700000000,
"data": [
{
"b64_json": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB"
}
]
}Accepts multipart uploaded images or nonstreaming JSON URL inputs. JSON requires model, prompt and 1-16 images with image_url; mask may contain one image_url. URL inputs use the selected upstream's native JSON Images API, so that channel must support URL edits. Model permissions, enterprise channel selection, funding and settlement apply to both inputs. URLs must use public HTTPS without embedded credentials; the gateway does not download them. Other native JSON parameters are preserved. gpt-image-2 defaults quality to medium. Malformed URL inputs, missing images, unsupported streaming, invalid image count and invalid quality return HTTP 400 before funding or provider dispatch.
POST /v1/images/editsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/images/edits' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Combine these reference images on a soft blue background.",
"images": [
{
"image_url": "https://cdn.example.com/reference-1.png"
},
{
"image_url": "https://cdn.example.com/reference-2.png"
}
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Combine these reference images on a soft blue background.",
"images": [
{
"image_url": "https://cdn.example.com/reference-1.png"
},
{
"image_url": "https://cdn.example.com/reference-2.png"
}
]
}प्रतिक्रियाएँ
{
"created": 1700000000,
"data": [
{
"b64_json": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB"
}
]
}Accepts multipart uploaded images or nonstreaming JSON URL inputs. JSON requires model, prompt and 1-16 images with image_url; mask may contain one image_url. URL inputs use the selected upstream's native JSON Images API, so that channel must support URL edits. Model permissions, enterprise channel selection, funding and settlement apply to both inputs. URLs must use public HTTPS without embedded credentials; the gateway does not download them. Other native JSON parameters are preserved. gpt-image-2 defaults quality to medium. Malformed URL inputs, missing images, unsupported streaming, invalid image count and invalid quality return HTTP 400 before funding or provider dispatch.
POST /v1/images/generationsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/images/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud",
"n": 1
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud",
"n": 1
}प्रतिक्रियाएँ
{
"created": 1700000000,
"data": [
{
"b64_json": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB"
}
]
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/images/artifacts?key=<key>&tenant_id=<tenant_id>&mime_type=<mime_type>&expires_at=<expires_at>&signature=<signature>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
कोई प्रमाणीकरण आवश्यक नहीं
पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| key | query | string | आवश्यक | — |
| tenant_id | query | string | आवश्यक | — |
| mime_type | query | string | आवश्यक | — |
| expires_at | query | integer | आवश्यक | — |
| signature | query | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>ऑडियो
3 एंडपॉइंटऑडियो ट्रांसक्राइब करें, ऑडियो का अंग्रेज़ी में अनुवाद करें, या भाषण संश्लेषित करें।
Native prepaid organizations reserve the greater of customer and provider maximum costs before audio provider dispatch. A missing or mismatched server-owned execution bound returns non-retryable HTTP 503 prepaid_execution_bound_unavailable. Multipart bounds include file sizes and content hashes. Insufficient funds return HTTP 402. Successful responses require the configured billable usage; missing required usage returns HTTP 502 and retains funding. Provider errors or unknown outcomes retain funding for audited recovery. Personal and postpaid audio behavior is preserved.
POST /openai/v1/audio/speechअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/audio/speech' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: audio/mpeg' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"voice": "your-voice-id",
"input": "Welcome to AnyInt Gateway."
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"voice": "your-voice-id",
"input": "Welcome to AnyInt Gateway."
}प्रतिक्रियाएँ
<binary>Native prepaid organizations reserve the greater of customer and provider maximum costs before audio provider dispatch. A missing or mismatched server-owned execution bound returns non-retryable HTTP 503 prepaid_execution_bound_unavailable. Multipart bounds include file sizes and content hashes. Insufficient funds return HTTP 402. Successful responses require the configured billable usage; missing required usage returns HTTP 502 and retains funding. Provider errors or unknown outcomes retain funding for audited recovery. Personal and postpaid audio behavior is preserved.
POST /openai/v1/audio/transcriptionsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/audio/transcriptions' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--form 'file=@path/to/audio.wav' \
--form 'model=your-model-id'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"file": "audio.wav",
"model": "your-model-id"
}प्रतिक्रियाएँ
{
"text": "Example transcript."
}Native prepaid organizations reserve the greater of customer and provider maximum costs before audio provider dispatch. A missing or mismatched server-owned execution bound returns non-retryable HTTP 503 prepaid_execution_bound_unavailable. Multipart bounds include file sizes and content hashes. Insufficient funds return HTTP 402. Successful responses require the configured billable usage; missing required usage returns HTTP 502 and retains funding. Provider errors or unknown outcomes retain funding for audited recovery. Personal and postpaid audio behavior is preserved.
POST /openai/v1/audio/translationsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/audio/translations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--form 'file=@path/to/audio.wav' \
--form 'model=your-model-id'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"file": "audio.wav",
"model": "your-model-id"
}प्रतिक्रियाएँ
{
"text": "Example transcript."
}एसिंक्रोनस मीडिया
23 एंडपॉइंटइमेज, वीडियो और संगीत के एसिंक्रोनस जॉब बनाएं और उनका निरीक्षण करें।
अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/audio/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "audio",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/audio/generations/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "audio",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/audio/generations/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>Seedance सक्रिय छवि और वीडियो asset:// संदर्भ स्वीकार करता है, जिनमें मिश्रित reference_image और reference_video सामग्री भी शामिल है। प्रत्येक संदर्भ एंटरप्राइज़ की वर्तमान एसेट लाइब्रेरी से संबंधित होना चाहिए। असंगत लाइब्रेरी संदर्भ रूटिंग, टास्क बनाने या अपस्ट्रीम सबमिशन से पहले HTTP 400 authorized_asset_provider_mismatch, retryable=false और user_action=simplify_input लौटाते हैं। पुनः प्रयास करने से पहले संदर्भित छवियों और वीडियो को वर्तमान लाइब्रेरी में पंजीकृत करें और उनके संदर्भ अपडेट करें।
POST /openai/v1/videosअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/videos' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "video",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/videos/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "video",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/videos/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/async-tasks' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "queued",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/async-tasks/image-generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "A minimal paper sculpture of a cloud"
}प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "submitted",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"anyint": {
"request_id": "req_example",
"route_decision_id": "route_example"
},
"duplicate": true
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/async-tasks/music-generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Warm ambient music with soft piano",
"duration_seconds": 30
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Warm ambient music with soft piano",
"duration_seconds": 30
}प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "music_generation",
"status": "submitted",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"anyint": {
"request_id": "req_example",
"route_decision_id": "route_example"
},
"duplicate": true
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/async-tasks/video-generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Slow aerial movement over a quiet coast",
"duration_seconds": 6,
"fps": 24
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Slow aerial movement over a quiet coast",
"duration_seconds": 6,
"fps": 24
}प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "video_generation",
"status": "submitted",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"anyint": {
"request_id": "req_example",
"route_decision_id": "route_example"
},
"duplicate": true
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/async-tasks/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "queued",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/async-tasks/<task_id>/artifacts/<artifact_id>?tenant_id=<tenant_id>&expires_at=<expires_at>&signature=<signature>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
कोई प्रमाणीकरण आवश्यक नहीं
पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| artifact_id | path | string | आवश्यक | — |
| tenant_id | query | string | आवश्यक | — |
| expires_at | query | integer | आवश्यक | — |
| signature | query | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/async-tasks/<task_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "generation_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "queued",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/audio/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "audio",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/audio/generations/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "audio",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/audio/generations/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/music/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Warm ambient music with soft piano",
"duration_seconds": 30
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Warm ambient music with soft piano",
"duration_seconds": 30
}प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "music_generation",
"status": "submitted",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"anyint": {
"request_id": "req_example",
"route_decision_id": "route_example"
},
"duplicate": true
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/tasks/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "generation_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "queued",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/tasks/<task_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "generation_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "image_generation",
"status": "queued",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
}Seedance सक्रिय छवि और वीडियो asset:// संदर्भ स्वीकार करता है, जिनमें मिश्रित reference_image और reference_video सामग्री भी शामिल है। प्रत्येक संदर्भ एंटरप्राइज़ की वर्तमान एसेट लाइब्रेरी से संबंधित होना चाहिए। असंगत लाइब्रेरी संदर्भ रूटिंग, टास्क बनाने या अपस्ट्रीम सबमिशन से पहले HTTP 400 authorized_asset_provider_mismatch, retryable=false और user_action=simplify_input लौटाते हैं। पुनः प्रयास करने से पहले संदर्भित छवियों और वीडियो को वर्तमान लाइब्रेरी में पंजीकृत करें और उनके संदर्भ अपडेट करें।
POST /v1/videosअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/videos' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-name",
"prompt": "A calm landscape",
"duration_seconds": 5
}प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "video",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/videos/generations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Slow aerial movement over a quiet coast",
"duration_seconds": 6,
"fps": 24
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Slow aerial movement over a quiet coast",
"duration_seconds": 6,
"fps": 24
}प्रतिक्रियाएँ
{
"object": "async_task",
"task": {
"id": "task_example",
"requestId": "req_example",
"tenantId": "tenant_example",
"protocol": "openai",
"taskType": "video_generation",
"status": "submitted",
"input": {
"prompt": "Example prompt"
},
"artifacts": [],
"artifactCount": 0,
"artifact_count": 0,
"billingSessions": [],
"billing_sessions": [],
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"anyint": {
"request_id": "req_example",
"route_decision_id": "route_example"
},
"duplicate": true
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/videos/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "task_example",
"taskId": "task_example",
"object": "video",
"status": "queued",
"created_at": 0
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/videos/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| task_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>फ़ाइलें
5 एंडपॉइंटफ़ाइलें अपलोड करें, सूची बनाएं, निरीक्षण करें और डाउनलोड करें।
अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/files' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "file_example",
"object": "file",
"bytes": 128,
"created_at": 1700000000,
"filename": "document.jsonl",
"purpose": "batch",
"status": "processed"
}
]
}सामग्री संग्रहीत करने से पहले API key की IP और प्रति मिनट अनुरोध नीतियाँ लागू करता है। अपलोड मॉडल-स्वतंत्र हैं और इनफ़रेंस कोटा का उपयोग नहीं करते। फ़ाइलें अपलोड के 30 दिन बाद समाप्त हो जाती हैं, जब तक expires_after छोटी अवधि (1 घंटे से 30 दिन) तय न करे; समाप्त फ़ाइलें सूची में नहीं दिखतीं, डाउनलोड नहीं की जा सकतीं और हटा दी जाती हैं। प्रत्येक टेनेंट अधिकतम 10,000 सक्रिय फ़ाइलें, कुल 10 GiB तक रख सकता है।
POST /openai/v1/filesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/files' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--form 'file=@path/to/document.jsonl' \
--form 'purpose=batch'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"file": "document.jsonl",
"purpose": "batch"
}प्रतिक्रियाएँ
{
"id": "file_example",
"object": "file",
"bytes": 128,
"created_at": 1700000000,
"filename": "document.jsonl",
"purpose": "batch",
"status": "processed"
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/files/<file_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| file_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "file_example",
"object": "file",
"bytes": 128,
"created_at": 1700000000,
"filename": "document.jsonl",
"purpose": "batch",
"status": "processed"
}अनुरोध उदाहरण
curl \
--request DELETE \
--url 'https://api.anyint.cloud/openai/v1/files/<file_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| file_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "file_example",
"object": "file",
"deleted": true
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/files/<file_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| file_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
<binary>बैच
8 एंडपॉइंटजब परिनियोजन के लिए ऑब्जेक्ट स्टोरेज सक्षम हो तो प्रदाता-नेटिव JSONL बैच सबमिट करें।
अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| after | query | string | वैकल्पिक | — |
| limit | query | integer | वैकल्पिक | —उदाहरण: 20 |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}
],
"first_id": "batch_example",
"last_id": "batch_example",
"has_more": false
}Native prepaid batches validate the stored file checksum and strict JSONL before funding. Every item needs a server-owned execution policy for its pinned route and price, including file-upload and batch-create transport bounds. All item reservations commit atomically before provider submission; insufficient aggregate funds return HTTP 402 without submitting a partial batch. Incompatible provider configurations must be split into separate batches. Each submission permits one file upload and one batch create; an ambiguous submission returns batch_submission_recovery_required and retains funding without automatic resubmission. Failed, cancelled or missing item results do not prove zero provider cost and retain funding for reconciliation.
POST /openai/v1/batchesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"input_file_id": "file_example",
"endpoint": "/v1/chat/completions",
"completion_window": "24h"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।अनुरोध निकाय
आवश्यक{
"input_file_id": "file_example",
"endpoint": "/v1/chat/completions",
"completion_window": "24h"
}प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/openai/v1/batches/<batch_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| batch_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/batches/<batch_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| batch_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| after | query | string | वैकल्पिक | — |
| limit | query | integer | वैकल्पिक | —उदाहरण: 20 |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"object": "list",
"data": [
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}
],
"first_id": "batch_example",
"last_id": "batch_example",
"has_more": false
}Native prepaid batches validate the stored file checksum and strict JSONL before funding. Every item needs a server-owned execution policy for its pinned route and price, including file-upload and batch-create transport bounds. All item reservations commit atomically before provider submission; insufficient aggregate funds return HTTP 402 without submitting a partial batch. Incompatible provider configurations must be split into separate batches. Each submission permits one file upload and one batch create; an ambiguous submission returns batch_submission_recovery_required and retains funding without automatic resubmission. Failed, cancelled or missing item results do not prove zero provider cost and retain funding for reconciliation.
POST /v1/batchesअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"input_file_id": "file_example",
"endpoint": "/v1/chat/completions",
"completion_window": "24h"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।अनुरोध निकाय
आवश्यक{
"input_file_id": "file_example",
"endpoint": "/v1/chat/completions",
"completion_window": "24h"
}प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/batches/<batch_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| batch_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/batches/<batch_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| batch_id | path | string | आवश्यक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"id": "batch_example",
"object": "batch",
"endpoint": "/v1/chat/completions",
"input_file_id": "file_example",
"completion_window": "24h",
"status": "in_progress",
"created_at": 1700000000,
"request_counts": {
"total": 100,
"completed": 0,
"failed": 0
}
}मॉडरेशन
2 एंडपॉइंटसंभावित रूप से हानिकारक टेक्स्ट या इमेज इनपुट को वर्गीकृत करें।
अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/moderations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"input": "Text to classify"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"input": "Text to classify"
}प्रतिक्रियाएँ
{
"id": "modr_example",
"model": "your-model-id",
"results": [
{
"flagged": false,
"categories": {},
"category_scores": {}
}
]
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/moderations' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"input": "Text to classify"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"input": "Text to classify"
}प्रतिक्रियाएँ
{
"id": "modr_example",
"model": "your-model-id",
"results": [
{
"flagged": false,
"categories": {},
"category_scores": {}
}
]
}टेक्स्ट पूर्णता
2 एंडपॉइंटलिगेसी OpenAI-संगत टेक्स्ट कंप्लीशन बनाएं।
OpenAI legacy Completions accepts boolean or null stream. Null selects non-streaming and remains null in the native provider request; other non-boolean values return HTTP 400 before funding or provider dispatch.
POST /openai/v1/completionsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/openai/v1/completions' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Once upon a time"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Once upon a time"
}प्रतिक्रियाएँ
{
"id": "cmpl_example",
"object": "text_completion",
"choices": [
{
"index": 0,
"text": " there was a quiet coast."
}
]
}OpenAI legacy Completions accepts boolean or null stream. Null selects non-streaming and remains null in the native provider request; other non-boolean values return HTTP 400 before funding or provider dispatch.
POST /v1/completionsअनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/completions' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "your-model-id",
"prompt": "Once upon a time"
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Client-Message-Id | header | string | वैकल्पिक | Opt in to durable tenant-scoped execution deduplication. Reuse only with the identical request body and API key. Completed or possibly dispatched requests never expire into another execution, including after Redis loss. Upstream errors or settlement rollback after dispatch require a new message ID for another execution; failures before dispatch may retry the same ID. |
| X-Resume-Message-Id | header | string | वैकल्पिक | Replay a previously generated SSE stream under the original API key and identical request body. This request does not dispatch or bill the provider. Cache retention is 10 minutes and total output is limited to 4 MiB; interrupted generations require a new message ID for continuation. |
| X-Resume-From-Offset | header | integer | वैकल्पिक | Number of complete SSE events already consumed, matching the last SSE id. Starts at 0; UTF-8 bytes, tokens and characters are not valid units. Takes precedence over Last-Event-ID. |
| Last-Event-ID | header | integer | वैकल्पिक | Alternative complete SSE event offset when X-Resume-From-Offset is absent. |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"model": "your-model-id",
"prompt": "Once upon a time"
}प्रतिक्रियाएँ
{
"id": "cmpl_example",
"object": "text_completion",
"choices": [
{
"index": 0,
"text": " there was a quiet coast."
}
]
}अन्य एंडपॉइंट (Knowledge Crystallization)
1 एंडपॉइंटExport crystallized AI conversation events for local Markdown notes sync.
अनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/knowledge/export' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| cursor | query | string | वैकल्पिक | — |
| limit | query | integer | वैकल्पिक | — |
| collection_id | query | string | वैकल्पिक | — |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"schema_version": "1.0.0",
"collection_id": "default",
"collection_generation": 1,
"events": [],
"next_cursor": null,
"has_more": false,
"snapshot_upper_bound": "2026-09-30T10:00:00.000Z",
"pending_summary": {
"pending_event_count": 0
},
"status": "OK"
}ChatRoom एकीकरण
4 एंडपॉइंटDiscover key-scoped models and enterprise capabilities for independent ChatRoom clients.
Native ChatRoom metadata authenticated with a Developer API key. Preserves existing tenant/key visibility and imported stable asset ownership references.
GET /v1/chatroom/enterprise-contextअनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/chatroom/enterprise-context' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"success": true,
"data": {
"featureControls": {
"seedanceAuthorizedAssets": false,
"videoDramaUsage": {
"enabled": false,
"dramaNames": []
}
}
}
}Native ChatRoom metadata authenticated with a Developer API key. Preserves existing tenant/key visibility and imported stable asset ownership references.
GET /v1/chatroom/key-contextअनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/chatroom/key-context' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"success": true,
"data": {
"userId": "user_example",
"apiKeyId": "key_example",
"featureControls": {
"seedanceAuthorizedAssets": false,
"videoDramaUsage": {
"enabled": false,
"dramaNames": []
}
}
}
}Native ChatRoom metadata authenticated with a Developer API key. Preserves existing tenant/key visibility and imported stable asset ownership references.
GET /v1/chatroom/modelsअनुरोध उदाहरण
curl \
--request GET \
--url 'https://api.anyint.cloud/v1/chatroom/models?scope=<scope>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| scope | query | string | आवश्यक | — |
| limit | query | integer | वैकल्पिक | —उदाहरण: 1000 |
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
प्रतिक्रियाएँ
{
"success": true,
"data": {
"models": [],
"total": 0
}
}अनुरोध उदाहरण
curl \
--request POST \
--url 'https://api.anyint.cloud/v1/tasks/request-costs' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"request_ids": [
"req_example:async"
]
}'प्रमाणीकरण
http · bearerAnyInt डेवलपर API कुंजी को ऑथराइज़ेशन हेडर में बियरर टोकन के रूप में पास करें।पैरामीटर
| नाम | स्थान | प्रकार | आवश्यक | विवरण |
|---|---|---|---|---|
| X-Request-Id | header | string | वैकल्पिक | Optional client correlation ID. Valid values (8–128 letters, digits, dots, underscores, colons or dashes) are retained only as a diagnostic hash. This header does not deduplicate requests. Each HTTP request receives a fresh gateway execution ID in the X-Request-Id response header; use that returned ID for support and request traces. Use the documented message recovery protocol for execution deduplication. |
अनुरोध निकाय
आवश्यक{
"request_ids": [
"req_example:async"
]
}प्रतिक्रियाएँ
{
"request_costs": [
{
"request_id": "req_example:async",
"credits": 125
}
]
}