Workspace / Explore
AI PLUGIN DEVELOPMENT

Build AI Image and Video Generation Plugins

Add model discovery and generation actions to an existing editor, IDE or automation product without embedding a separate provider integration for each endpoint.

WHAT

What Makes a Generation Plugin Reliable?

A plugin needs a compact interface, validated inputs, secure credentials and recoverable task state. It should expose only the controls supported by the selected endpoint and return results to the host application without hiding cost or provenance.

CAPABILITIES

Which Image and Video APIs Fit a Plugin?

Choose the smallest set of generation actions that matches the host product. Editors may need image creation and editing, while automation tools can also expose asynchronous video tasks.

Compare Models for This Workflow

Choose the input operation first, then compare its models. Starting prices refer to each model's lowest listed configuration; use the capability page to match output settings and compare request totals.

Text to Image API

ModelProviderStarting request costAPI documentation
GPT Image 2OpenAI$0.0133 / requestRead endpoint reference
GPT Image 2.5 FlareOpenAI$0.014 / requestRead endpoint reference
GPT Image 2.5 SunburstOpenAI$0.014 / requestRead endpoint reference
Seedream 5 FlashByteDance$0.02268 / requestRead endpoint reference
Nano BananaGoogle$0.028 / requestRead endpoint reference
Nano Banana 2.1Google$0.028 / requestRead endpoint reference
Qwen Image (original)Alibaba$0.028 / requestRead endpoint reference
Seedream 5 LiteByteDance$0.0385 / requestRead endpoint reference
Seedream 5 ProByteDance$0.049 / requestRead endpoint reference
Nano Banana ProGoogle$0.126 / requestRead endpoint reference

Image to Image API

ModelProviderStarting request costAPI documentation
Seedream 5 FlashByteDance$0.02268 / requestRead endpoint reference
GPT Image 2OpenAI$0.0266 / requestRead endpoint reference
Nano BananaGoogle$0.028 / requestRead endpoint reference
Nano Banana 2.1Google$0.028 / requestRead endpoint reference
GPT Image 2.5 FlareOpenAI$0.035 / requestRead endpoint reference
GPT Image 2.5 SunburstOpenAI$0.035 / requestRead endpoint reference
Seedream 5 LiteByteDance$0.0385 / requestRead endpoint reference
Seedream 5 ProByteDance$0.049 / requestRead endpoint reference
Nano Banana ProGoogle$0.126 / requestRead endpoint reference

Text to Video API

ModelProviderStarting request costAPI documentation
Wan 3.0Alibaba$0.112 / requestRead endpoint reference
MiniMax H3MiniMax$0.224 / requestRead endpoint reference
Kling 4.0Kuaishou$0.52752 / requestRead endpoint reference
Seedance 2.0ByteDance$0.532 / requestRead endpoint reference
Seedance 2.5ByteDance$0.784 / requestRead endpoint reference
Veo 3.1 StandardGoogle$1.12 / requestRead endpoint reference
Grok Video 2.0xAISee model availabilityRead endpoint reference

Image to Video API

ModelProviderStarting request costAPI documentation
Wan 3.0Alibaba$0.112 / requestRead endpoint reference
MiniMax H3MiniMax$0.252 / requestRead endpoint reference
Kling 4.0Kuaishou$0.52752 / requestRead endpoint reference
Seedance 2.0ByteDance$0.532 / requestRead endpoint reference
Seedance 2.5ByteDance$0.784 / requestRead endpoint reference
Veo 3.1 StandardGoogle$1.12 / requestRead endpoint reference
HOW

How to Build an AI Image or Video Plugin

  1. 1

    Read the host selection

    Collect only the text, image or document context required for the requested generation action.

  2. 2

    Show compact model controls

    Offer a curated model list and the endpoint settings that fit the plugin surface.

  3. 3

    Run a secure API task

    Send credentials through a trusted backend and persist the asynchronous task ID.

  4. 4

    Return the asset to the host

    Insert or attach the result with its model metadata and a recoverable status path.

WHICH

How to Choose Models and Controls for a Plugin

Host context

Pass only the selected text or media required for the action.

Credential scope

Store API keys securely and separate them by environment or workspace.

Compact controls

Render a deliberate subset of endpoint settings that fit the host UI.

Async state

Keep a task panel or notification path for long-running generation.

Output handoff

Return the generated asset and metadata to the original document or workflow.

BUILD

What You Can Build with Generation Plugin APIs

Design editor plugin

Generate or edit assets without leaving a canvas workflow.

IDE integration

Create visual assets from code or content context.

Automation connector

Add generation actions to a workflow platform.

WHY

Why Use a Unified Model API in a Plugin?

Keep the extension lightweight

Avoid embedding separate provider task clients for every image and video action.

Fit controls to the host UI

Expose a curated subset of model inputs instead of copying a full API form.

Protect API credentials

Route generation through a trusted service or the host platform's secret store.

Return results with context

Attach model, task and output metadata when the asset moves back into the document or workflow.

What to Know Before Building an AI Generation Plugin

Can a plugin support more than one model?

Yes. Use a curated model selector and render inputs from the selected endpoint.

Where should API keys be stored?

Keep secrets on a trusted backend or the host platform's protected secret store, not in public client code.

How should a plugin show generation progress?

Persist the task ID and provide a status surface that survives closing or navigating away from the initial form.