All Integrations

ComfyUI Integration

Connect ComfyUI to NextAPI using a trusted HTTP/API request custom node. A packaged NextAPI custom node is in development and not yet shipped — the verified path today is through ComfyUI's generic HTTP request nodes.

Configuration

Set the following values in your ComfyUI configuration:

json
// ComfyUI HTTP/API Request Node Configuration
{
  "create": {
    "method": "POST",
    "url": "https://api.nextapi.top/v1/videos",
    "headers": {
      "Authorization": "Bearer sk_...",
      "Content-Type": "application/json"
    },
    "body": {
      "model": "seedance-2.0-pro",
      "input": {
        "prompt": "your prompt here",
        "duration_seconds": 6,
        "resolution": "1080p"
      }
    }
  },
  "poll": {
    "method": "GET",
    "url": "https://api.nextapi.top/v1/videos/{id}",
    "headers": {
      "Authorization": "Bearer sk_..."
    }
  }
}

Setup Steps

  1. 1Use a local or trusted ComfyUI installation. Do not use unofficial hosted mirrors.
  2. 2Install a trusted HTTP/API Request custom node in your ComfyUI.
  3. 3Add a create request node: method POST, URL https://api.nextapi.top/v1/videos, headers Authorization: Bearer sk_... and Content-Type: application/json.
  4. 4Set the JSON body with model and input (prompt, duration_seconds, resolution).
  5. 5Save the returned id from the create response.
  6. 6Add a poll request node: method GET, URL https://api.nextapi.top/v1/videos/{id}, same Authorization header.
  7. 7When status = succeeded, read output.url or output.video_url as the download address.

Test with cURL

Verify your setup by running this command with your real sk_live_ key:

Sample command — replace $NEXTAPI_KEY with your actual key from app.nextapi.top.
bash
curl -X POST https://api.nextapi.top/v1/videos \
  -H "Authorization: Bearer $NEXTAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.0-pro",
    "input": {
      "prompt": "ink spreading through water in slow motion",
      "duration_seconds": 6,
      "resolution": "1080p"
    }
  }'
A packaged NextAPI ComfyUI custom node is pending. For strict setup instructions and tool-specific details, refer to the third-party tools configuration guide in the NextAPI documentation.

Need help?

Contact our integrations team at support@nextapi.top or check the full API documentation.