1. API 키 만들기
APIAny.AI 대시보드를 열고 프로젝트 API 키를 만드세요.2. 사용 가능한 모델 목록 조회
3. 채팅 완성 실행
4. 이미지 작업 만들기
task_id가 포함됩니다. 작업이 완료될 때까지 폴링하세요:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
첫 번째 APIAny.AI 요청을 보내세요.
curl https://apiany.ai/v1/models \
-H "Authorization: Bearer $APIANY_API_KEY"
curl https://apiany.ai/v1/chat/completions \
-H "Authorization: Bearer $APIANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4",
"messages": [
{ "role": "user", "content": "Write a concise product tagline for APIAny.AI." }
]
}'
curl https://apiany.ai/v1/images/generations \
-H "Authorization: Bearer $APIANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"prompt": "A clean product hero image for an AI API gateway",
"size": "1k"
}'
task_id가 포함됩니다. 작업이 완료될 때까지 폴링하세요:
curl https://apiany.ai/v1/tasks/task_123 \
-H "Authorization: Bearer $APIANY_API_KEY"