API 참조
OpenAI 호환, Anthropic, Gemini 및 비동기 미디어 워크플로 전반에 걸쳐 하나의 게이트웨이와 API 키를 사용합니다.
- 서버
https://api.anyint.ai이 OpenAPI 문서를 제공하는 AnyInt 게이트웨이 원본입니다.
75 엔드포인트
ChatRoom 연동
4 엔드포인트Discover key-scoped models and enterprise capabilities for independent ChatRoom clients.
요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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
}
]
}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.ai/v1/chatroom/models?scope=<scope>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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
}
}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.ai/v1/chatroom/enterprise-context' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/chatroom/key-context' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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": []
}
}
}
}채팅
2 엔드포인트OpenAI 호환 대화형 응답 생성
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /v1/chat/completions요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 /openai/v1/chat/completions요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 응답 API 형식으로 응답 생성
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /v1/responses요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 /openai/v1/responses요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}텍스트 완성
2 엔드포인트레거시 OpenAI 호환 텍스트 완성 생성
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /v1/completions요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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."
}
]
}설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /openai/v1/completions요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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."
}
]
}임베딩
2 엔드포인트텍스트 입력에서 벡터 임베딩 생성
요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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
]
}
]
}모더레이션
2 엔드포인트유해할 수 있는 텍스트 또는 이미지 입력 분류
요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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": {}
}
]
}배치
8 엔드포인트배포에 객체 스토리지가 활성화된 경우 공급자 네이티브 JSONL 배치를 제출합니다.
요청 예시
curl \
--request GET \
--url 'https://api.anyint.ai/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.요청 본문
필수{
"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.ai/openai/v1/batches' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.요청 본문
필수{
"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.ai/v1/batches/<batch_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/batches/<batch_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/batches/<batch_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/batches/<batch_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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
}
}파일
5 엔드포인트파일을 업로드, 나열, 검사 및 다운로드합니다.
요청 예시
curl \
--request GET \
--url 'https://api.anyint.ai/openai/v1/files' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 및 분당 요청 수 정책을 적용합니다. 업로드는 모델과 무관하며 추론 할당량을 소비하지 않습니다. expires_after로 더 짧은 수명(1시간~30일)을 지정하지 않으면 파일은 업로드 30일 후 만료됩니다. 만료된 파일은 목록에 표시되지 않고 다운로드할 수 없으며 삭제됩니다. 각 테넌트는 최대 10,000개의 활성 파일, 총 10 GiB까지 보관할 수 있습니다.
POST /openai/v1/files요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/files/<file_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/files/<file_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/files/<file_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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>오디오
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/transcriptions요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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/speech요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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>이미지
4 엔드포인트Generate and edit images with OpenAI-compatible requests.
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /v1/images/edits요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}
]
}설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /openai/v1/images/edits요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}
]
}설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /v1/images/generations요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}
]
}설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /openai/v1/images/generations요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}
]
}모델
4 엔드포인트각 프로토콜을 통해 사용 가능한 모델을 검색합니다.
요청 예시
curl \
--request GET \
--url 'https://api.anyint.ai/openai/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/anthropic/v1/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/gemini/v1beta/models' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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
}
]
}비동기 미디어
23 엔드포인트비동기 이미지, 비디오 및 음악 작업 생성 및 검사
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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/videos/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/videos/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/videos/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/videos/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/audio/generations/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/audio/generations/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/audio/generations/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/openai/v1/audio/generations/<task_id>/content' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/octet-stream'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/async-tasks' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 GET \
--url 'https://api.anyint.ai/v1/async-tasks/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/tasks/<task_id>' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/tasks/<task_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/v1/async-tasks/<task_id>/cancel' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 GET \
--url 'https://api.anyint.ai/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>Anthropic 메시지
4 엔드포인트Anthropic 네이티브 메시지, 토큰 개수 세기 및 모델 검색을 사용합니다.
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /anthropic/v1/messages요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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 콘텐츠
4 엔드포인트Gemini 네이티브 콘텐츠 생성 및 스트리밍을 사용합니다.
설명된 작업을 수행하려면 이 엔드포인트를 호출하세요.
POST /gemini/v1beta/models/{model}:generateContent요청 예시
curl \
--request POST \
--url 'https://api.anyint.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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.ai/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 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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."}]}}]}
기타 엔드포인트 (Knowledge Crystallization)
1 엔드포인트Export crystallized AI conversation events for local Markdown notes sync.
요청 예시
curl \
--request GET \
--url 'https://api.anyint.ai/v1/knowledge/export' \
--header 'Authorization: Bearer <ANYINT_API_KEY>' \
--header 'Accept: application/json'인증
http · bearerAnyInt 개발자 API 키를 Authorization 헤더에 Bearer 토큰으로 전달하세요.매개변수
| 이름 | 위치 | 유형 | 필수 | 설명 |
|---|---|---|---|---|
| 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"
}