Plattform für Grenzgänger
  • AI 게이트웨이
    • 제품 소개
    • 빠른 시작
    • 개발 가이드
      • V1
      • V2
        • 개요
        • 공개 요청 헤더 소개
        • Tencent - 미
        • 바이두 - 천범
        • 바이트-콩밥
        • 알리-통 의
        • 문샷 - 키미
        • 미니 맥스 (Minimax)
        • 개방형 AI
        • 쌍둥이 자리
    • 자주 묻는 질문
    • 제품 동향
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

알리-통 의

Request URL

https://ai-gateway-intl.eo-edgefunctions7.com

Request method

POST

Request headers

Parameter name
Required
Type
Description
OE-Key
Yes
string
Gateway API key
OE-Gateway-Name
Yes
string
Gateway name
OE-AI-Provider
Yes
string
AI service provider, fixed value: ali
OE-Gateway-Version
Yes
string
Gateway version, fixed value: 2
Authorization
Yes
string
Authentication Key of LLM Service Provider
Content-Type
Yes
string
Fixed value: application/json

Request body

Parameter name
Required
Type
Description
model
Yes
string
Model Name
messages
Yes
array
Message list, each message includes role and content
stream
Yes
boolean
Enable stream processing
Request Body Example
{
"model": "qwen-vl-plus",
"messages": [
{
"role": "user",
"content": "1+1=?"
}
]
"stream": true
}

Sample response

The response format is JSON, and the specific content depends on the actual API return result.

Sample code for curl request

curl --location --request POST 'https://ai-gateway-intl.eo-edgefunctions7.com' \
--header 'OE-Key: xxxx' \
--header 'OE-Gateway-Name: xxxx' \
--header 'OE-AI-Provider: ali' \
--header 'OE-Gateway-Version: 2' \
--header 'Authorization: xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model":"qwen-vl-plus",
"messages": [
{
"role": "user",
"content": "Do you know what 1+1 equals?"
}
]
"stream":true
}'

Notes

Note:
1. Please ensure all required parameters are correctly filled out.
2. Adjust the Authorization header based on actual conditions.
3. The messages array in the request body can contain multiple Message Objects, depending on business needs.