시작하기
Agent 연결
연결 컨텍스트
Claude Code, Codex, Cursor 같은 코딩 에이전트에 연결 지침을 전달한 다음 제작할 내용을 설명하세요. 현재는 REST API와 문서를 통해 연결합니다.
Agent
Use the KusArt REST API for anime image and video generation.
Read https://kusart.com/llms.txt first. It lists every model with its exact task_type, version parameters, starting price and a link to its full parameter reference. Do not guess task_type values.
Kusa-Anima and Kusa-XL work best with English prompts; prompts in other languages are translated into English automatically. To control the wording, translate a non-English request into English yourself first (see "Prompt language" in llms.txt). With no translation model available, translate it yourself by the rules in that section. For Kusa-Anima images with several characters, follow "Multiple characters" in its reference file.
Send requests server-side with X-API-Key from KUSART_API_KEY in the environment. Keep the key out of chat and browser UI code.
Set a descriptive User-Agent header. Requests that use some default library user agents, such as Python urllib, are rejected with HTTP 403.
Every create request spends credits. Estimate the cost from the listed price before submitting. If the user has approved a budget that covers it, run it; otherwise confirm the output, inputs and cost with the user first. Never create a second task just to check progress.키는 본인 환경에 설정하세요. 유료 실행 전 소재와 비용을 확인해야 합니다. REST 연결이므로 MCP가 필요하지 않습니다.
모든 모델의 task_type, 파라미터, 가격을 일반 텍스트로 정리했습니다. 코딩 에이전트가 바로 읽을 수 있습니다. 에이전트용 텍스트 문서 (llms.txt)
요청 처리 과정
API 키에서 API 키를 만들고 자신의 서버에 KUSART_API_KEY를 설정한 다음 모델 요청을 복사하세요. 전송 전에 예제 소재 URL과 스타일 ID를 바꾸세요. task_id를 저장하고 COMPLETED / FAILED / CANCELLED까지 조회하세요. 진행 상황을 확인하려고 작업을 다시 만들지 마세요. 제품의 브라우저 코드에 키를 포함하지 마세요.