KusArtAPI
    연결 개요모델 목록스타일 라이브러리종합 사례 라이브러리에이전트 스킬모델 가격API 문서API 키
    영업 문의 ↗︎
    KusArt로 돌아가기
    KusArtAPI
    연결 개요모델 목록스타일 라이브러리종합 사례 라이브러리에이전트 스킬모델 가격API 문서API 키
    API 문서/작업 수명 주기

    시작하기

    문서 개요빠른 시작인증과 키Agent 연결

    연결 가이드

    작업 수명 주기폴링과 결과Webhook오류 처리크레딧과 청구프롬프트 언어와 이스케이프여러 캐릭터 프롬프트 작성법(Kusa-Anima)

    API 레퍼런스

    참조 이미지 업로드List available stylesList available Anima stylesList style categoriesCreate a JSON taskGet task statusGet final resultList B2B tasksSeedance 이미지/영상으로 영상 생성Kusa-Dance 캐릭터 댄스Seedance 참조 자료 업로드

    모델 매개변수

    Kusa-AnimaKusa-XLNiji Journey v7Kusa-MixGPT ImageKusa-EasyKusa-Krea2Nano BananaKusa-UnlimitedMiniMax H3Kusa-DanceSeedance 2.0Nano Banana Pro

    도구

    API tool

    연결 가이드

    작업 수명 주기

    요청 처리 과정

    1. 1
      Create

      Partner sends X-API-Key plus task parameters to a B2B create endpoint.

    2. 2
      Authenticate

      Backend validates the API key and attaches the owning user plus optional billing account.

    3. 3
      Freeze credits

      Worker calculates cost and freezes credits from the dedicated account or user credit pool.

    4. 4
      Execute

      The selected worker calls internal or external generation capability and stores task output.

    5. 5
      Get result

      Partner polls /tasks/get or /tasks/get_result until the task is completed or failed.

    6. 6
      Webhook

      If webhook_url is supported and provided, backend POSTs the final task payload and settles credits.

    응답 구조

    HTTP 상태와 본문을 함께 확인하세요. code=0은 요청 성공이며 생성 성공은 data.status=COMPLETED로 확인합니다. FAILED도 code=0일 수 있습니다.

    JSON
    {
      "code": 0,
      "message": "Success",
      "data": {
        "task_id": "00000000-0000-0000-0000-000000000000",
        "status": "PENDING",
        "queue_position": 2,
        "generation_params": {
          "prompt": "anime engineer debugging an API dashboard",
          "watermark": false
        }
      }
    }
    JSON
    {
      "code": 0,
      "message": "Success",
      "data": {
        "task_id": "00000000-0000-0000-0000-000000000000",
        "status": "FAILED",
        "error_message": "Generation failed"
      }
    }
    이전Agent 연결다음폴링과 결과

    이 페이지의 내용

    요청 처리 과정응답 구조API 키 ↗