SeedVideo AI Credits API

Check total, reserved, and available credits.

GitHub OpenAPI

Operations 1

GET /v1/credits Get available credits #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/seeddance-io:seeddance-io-credits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

seeddance-io-credits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SeedVideo AI Credits API
  version: 1.0.0
  description: Use the SeedVideo AI API to create video tasks, track their status, and check your available credits. Video generation runs asynchronously, so create a task first and poll it until it completes or fails.
servers:
- url: https://www.seeddance.io
tags:
- name: Credits
  description: Check total, reserved, and available credits.
paths:
  /v1/credits:
    get:
      tags:
      - Credits
      operationId: getCredits
      x-codeSamples:
      - lang: go
        label: Go
        source: false
      - lang: java
        label: Java
        source: false
      - lang: csharp
        label: C#
        source: false
      - lang: bash
        label: cURL
        source: "curl \"https://www.seeddance.io/v1/credits\" \\\n  -H \"Authorization: Bearer sk_sd_example\""
      - lang: js
        label: JavaScript
        source: "const response = await fetch('https://www.seeddance.io/v1/credits', {\n  headers: { Authorization: 'Bearer sk_sd_example' },\n});\n\nconst credits = await response.json();"
      - lang: python
        label: Python
        source: "import requests\n\nresponse = requests.get(\n    \"https://www.seeddance.io/v1/credits\",\n    headers={\"Authorization\": \"Bearer sk_sd_example\"},\n    timeout=30,\n)\ncredits = response.json()"
      summary: Get available credits
      description: Returns the account's total credits, the credits reserved for active video tasks, and the credits available for a new task.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Current credit balances for the account.
          headers:
            X-Request-Id:
              description: The unique ID for this API request. Include it when you contact support.
              schema:
                type: string
                example: req_2YgM6pg5oM2WkKpQ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credits'
              example:
                total: 1000
                reserved: 50
                available: 950
        '401':
          description: The Bearer API key is missing, invalid, or revoked.
          headers:
            X-Request-Id:
              description: The unique ID for this API request. Include it when you contact support.
              schema:
                type: string
                example: req_2YgM6pg5oM2WkKpQ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_api_key
                  message: The API key is invalid, expired, or revoked.
                  param: null
                  request_id: req_2YgM6pg5oM2WkKpQ
        '429':
          description: The API key reached its rate limit.
          headers:
            X-Request-Id:
              description: The unique ID for this API request. Include it when you contact support.
              schema:
                type: string
                example: req_2YgM6pg5oM2WkKpQ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: rate_limit_exceeded
                  message: API rate limit exceeded. Try again later.
                  param: null
                  request_id: req_2YgM6pg5oM2WkKpQ
        '500':
          description: An internal error prevented the API from reading the credit balance.
          headers:
            X-Request-Id:
              description: The unique ID for this API request. Include it when you contact support.
              schema:
                type: string
                example: req_2YgM6pg5oM2WkKpQ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: internal_error
                  message: The request could not be completed.
                  param: null
                  request_id: req_2YgM6pg5oM2WkKpQ
components:
  schemas:
    Credits:
      type: object
      additionalProperties: false
      required:
      - total
      - reserved
      - available
      properties:
        total:
          type: integer
          minimum: 0
          description: The account's total active credits.
        reserved:
          type: integer
          minimum: 0
          description: Credits held for active video tasks.
        available:
          type: integer
          minimum: 0
          description: Credits the account can use for a new task.
    Error:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
          - code
          - message
          - param
          - request_id
          properties:
            code:
              type: string
              description: A stable code for programmatic error handling.
            message:
              type: string
              description: An error message that is safe to show users.
            param:
              oneOf:
              - type: string
              - type: 'null'
              description: The request field that caused the error, when known.
            request_id:
              type: string
              description: The request ID for support and tracing.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_sd_...
      description: Create a SeedVideo AI API key in Settings. Send it only from a trusted server.