Documentation Index
Fetch the complete documentation index at: https://docs.apimart.ai/llms.txt
Use this file to discover all available pages before exploring further.
빠른 시작
API 서비스에 오신 것을 환영합니다! 이 가이드는 이미지 및 비디오 생성을 빠르게 시작하는 데 도움을 드립니다.
1단계: API 키 받기
- API 키 관리 페이지 방문
- 계정에 로그인
- 새 API 키 생성
- 키를 안전하게 보관 (한 번만 표시됩니다)
2단계: 모델 선택
다양한 AI 모델 중에서 선택할 수 있습니다.
텍스트 생성 모델
- GPT-4o: 강력한 대화 및 텍스트 생성 기능
- Claude: Anthropic의 고성능 대화 모델
- Gemini: Google의 멀티모달 대규모 언어 모델
이미지 생성 모델
비디오 생성 모델
3단계: 요청 보내기
텍스트 생성 예제
curl -X POST https://api.apimart.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"content": "안녕하세요, 자기소개를 해주세요"
}
]
}'
이미지 생성 예제
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-image",
"prompt": "A cute panda",
"size": "1:1",
"n": 1
}'
비디오 생성 예제
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sora-2",
"prompt": "Waves crashing against the shore",
"duration": 15,
"aspect_ratio": "16:9"
}'
4단계: 작업 상태 확인
비동기 처리를 사용하므로 결과를 얻으려면 작업 상태를 조회해야 합니다.
curl -X GET https://api.apimart.ai/v1/tasks/YOUR_TASK_ID \
-H "Authorization: Bearer YOUR_API_KEY"
다음 단계
API 문서 보기
사용 가능한 모든 API 엔드포인트에 대해 자세히 알아보세요.
개발 가이드
API를 애플리케이션에 통합하는 방법을 배워보세요.