Api Endpoint

OpenGradient

Generate AI video with Base USDC. Price depends on model, duration, and resolution. Returns a free status URL to poll.

Open interactive test console

Offering

Provider
chat-api.memchat.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://chat-api.memchat.io/api/v1/x402/video-gen
MIME type
Not provided
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
AI, video, generation, Base, USDC

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.98 USDC
Atomic price: 980000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "980000",
    "payTo": "0x9deEBB5D1b22e4a6e027977CeAd13893A7E4cC1a"
  }
]

Observed health

Status
Reachable
Latest latency
41 ms
Average latency
46 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "description": "Public paid clips exclude Studio references, characters, and edits.",
      "properties": {
        "aspectRatio": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Text-to-video only; varies by model.",
          "title": "Aspectratio"
        },
        "duration": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Seconds, exactly as the catalog lists it.",
          "title": "Duration"
        },
        "generateAudio": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Only for models that support audio.",
          "title": "Generateaudio"
        },
        "imageUrl": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Required for image-to-video: a fal.media HTTPS URL or supported image data URL.",
          "title": "Imageurl"
        },
        "modelId": {
          "description": "Durations, resolutions, aspect ratios, audio and per-second prices per model (free GET): https://chat-api.memchat.io/api/v1/video/models",
          "oneOf": [
            {
              "enum": [
                "byteplus/seedance-2.5/text-to-video",
                "byteplus/seedance-2.0/text-to-video",
                "byteplus/seedance-2.0-mini/text-to-video",
                "bytedance/seedance-2.5/text-to-video",
                "bytedance/seedance-2.0/text-to-video",
                "minimax/h3-max/text-to-video",
                "alibaba/wan-3.0/text-to-video",
                "alibaba/wan-3.0-prime/text-to-video",
                "alibaba/wan-2.7/text-to-video",
                "alibaba/wan-2.6/text-to-video",
                "alibaba/wan-2.5/text-to-video",
                "fal-ai/kling-video/v3/pro/text-to-video",
                "alibaba/happyhorse-1.1/text-to-video",
                "opengradient/wan-2.2-14b/text-to-video",
                "minimax/h3/text-to-video"
              ],
              "title": "Text-to-video (omit imageUrl)"
            },
            {
              "enum": [
                "byteplus/seedance-2.5/image-to-video",
                "byteplus/seedance-2.0/image-to-video",
                "byteplus/seedance-2.0-mini/image-to-video",
                "bytedance/seedance-2.5/image-to-video",
                "bytedance/seedance-2.0/image-to-video",
                "minimax/h3-max/image-to-video",
                "alibaba/wan-3.0/image-to-video",
                "alibaba/wan-3.0-prime/image-to-video",
                "alibaba/wan-2.6/image-to-video",
                "alibaba/happyhorse-1.1/image-to-video",
                "fal-ai/kling-video/v3/turbo/pro/image-to-video",
                "opengradient/wan-2.2-14b/image-to-video",
                "minimax/h3/image-to-video"
              ],
              "title": "Image-to-video (imageUrl required)"
            }
          ],
          "title": "Modelid",
          "type": "string"
        },
        "prompt": {
          "minLength": 1,
          "title": "Prompt",
          "type": "string"
        },
        "resolution": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Only for models with resolution tiers.",
          "title": "Resolution"
        },
        "seed": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Only for models that support a seed.",
          "title": "Seed"
        }
      },
      "required": [
        "modelId",
        "prompt"
      ],
      "title": "X402VideoRequest",
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "provider": {
          "enum": [
            "atlas",
            "wavespeed",
            "byteplus",
            "selfhost",
            "fal"
          ],
          "type": "string"
        },
        "requestId": {
          "type": [
            "string",
            "null"
          ]
        },
        "statusUrl": {
          "description": "Free GET, no payment. Poll every few seconds: IN_QUEUE or IN_PROGRESS means keep polling (queuePosition may be set while queued); COMPLETED returns videoUrl; FAILED returns error.",
          "format": "uri",
          "type": "string"
        },
        "taskId": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "provider",
        "statusUrl"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}