KusArtAPI
    ZugangsübersichtModellkatalogStilbibliothekBeispielsammlungAgent-SkillsModellpreiseAPI-DokumentationAPI-Schlüssel
    Vertrieb kontaktieren ↗︎
    Zurück zu KusArt
    KusArtAPI
    ZugangsübersichtModellkatalogStilbibliothekBeispielsammlungAgent-SkillsModellpreiseAPI-DokumentationAPI-Schlüssel
    API-Dokumentation/Aufgaben-Lebenszyklus

    Erste Schritte

    DokumentationsübersichtSchnellstartAuthentifizierung und SchlüsselAgent-Integration

    Integrationsanleitungen

    Aufgaben-LebenszyklusAbfragen und ErgebnisseWebhooksFehlerbehandlungGuthaben und AbrechnungPrompt-Sprache und EscapingPrompts mit mehreren Figuren (Kusa-Anima)

    API-Referenz

    Referenzbild hochladenList available stylesList available Anima stylesList style categoriesCreate a JSON taskGet task statusGet final resultList B2B tasksSeedance: Bild/Video zu VideoKusa-Dance: CharaktertanzSeedance-Referenzen hochladen

    Modellparameter

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

    Werkzeuge

    API tool

    Integrationsanleitungen

    Aufgaben-Lebenszyklus

    Ablauf einer Anfrage

    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.

    Antwortstruktur

    HTTP-Status und Antwort prüfen. code=0 bestätigt die Anfrage; Generierung erst bei data.status=COMPLETED erfolgreich. Auch FAILED kann code=0 haben.

    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"
      }
    }
    ZurückAgent-IntegrationWeiterAbfragen und Ergebnisse

    Auf dieser Seite

    Ablauf einer AnfrageAntwortstrukturAPI-Schlüssel ↗