ToAPIs
    homeToAPIs
    ModelsModel PricingAPI Docs
    LoginStart for Free

    Quick Answer

    • Supports prompt-based text-to-image workflows for marketing and creative assets.
    • Supports reference-guided generation for stronger style consistency.
    • Stabilize parameters in this guide first, then move into production API.

    Key Parameters

    • model | string | required | viduq2-pro | - | Exact model identifier from ToAPIs.
    • prompt | string | required | - | - | Primary image instruction prompt.
    • size | string | optional | 1:1 | - | Output aspect ratio, model-dependent.
    • n | integer | optional | 1 | - | Number of generated images per request.
    • reference_images | file[] | optional | - | - | Reference images for style consistency.

    Common Errors

    • 400 invalid_request_error: trigger=Missing or invalid payload fields.; fix=Validate model/prompt/size payload fields.; retry=Retry only after payload fix.
    • 401 authentication_error: trigger=Missing or invalid API key.; fix=Verify Authorization header and key scope.; retry=Retry after authentication fix.

    viduq2-pro

    viduq2-pro by Vidu is optimized for image generation/editing workflows. Contracts follow ToAPIs docs for production-ready API integration.

    Model Type:
    Pricing: 20.0892 credits /request
    PlaygroundSimilarREADMEAPI
    1

    Describe your image

    Reference images

    Describe the image you want to generate.133 / 1200

    Advanced options

    Example params
    2

    Your generated result

    Your image result appears here

    Sign in to submit a generation task.

    View API DocsGet API Key

    Generation takes some time. Please wait.You can leave this page. [ Task Logs ] lets you check the generated content directly.

    Request preview

    {
      "model": "viduq2-pro",
      "prompt": "Create a premium product advertising image with viduq2-pro: clear subject, natural lighting, polished social-media-ready composition.",
      "size": "1:1",
      "n": 1,
      "metadata": {
        "resolution": "1K",
        "orientation": "square"
      }
    }

    Transparent pricing

    viduq2-pro pricing

    Image usage is billed according to the current request and resolution rules. Final billing follows the current account quote.

    Top up credits
    20.0892 credits /request

    Why ToAPIs

    Why call viduq2-pro through ToAPIs?

    Keep image generation, API keys, billing, and usage management in one workflow.

    High-quality generation

    Generate production-ready visual assets via a unified API.

    Reference consistency

    Use references to stabilize style and composition.

    Parameter tuning

    Tune ratio/count/sampling for quality and cost balance.

    Connect in three steps

    Create a key, send an image request, and review the generated result.

    1. 1

      Step 1

      Set Authorization: Bearer <YOUR_API_KEY>.

    2. 2

      Step 2

      Call image generation endpoint with model, prompt, and size.

    3. 3

      Step 3

      Optionally pass reference_images for stronger consistency.

    When to use viduq2-pro

    Use case 1

    When generating marketing, e-commerce, and social visual assets quickly.

    Use case 2

    When reference-guided consistency is required.

    FAQ

    viduq2-pro FAQ

    What is viduq2-pro best for?

    Best for high-frequency creative generation and reference-guided consistency workflows.

    Image or video model error: invalid apitype: -1

    This usually means the request was sent to the wrong endpoint. Image and video models typically do not use the chat endpoint. Instead, submit the documented HTTP task request and poll the task status endpoint for results. Check the actual request code, URL, and payload first.

    An image or video task failed, but the user was still charged

    Ask the user for the task log or screenshot first and check whether input or output token usage appears. If token accounting shows up, the request was likely sent through a chat endpoint instead of the proper media workflow. Image and video models usually run as async HTTP task APIs: submit the task first, then poll by task id according to the relevant docs.

    viduq2-pro API

    Start building with viduq2-pro

    Test an image request here, then continue in the dashboard or API documentation.

    Start for freeView API Docs

    Try viduq2-pro with one ToAPIs key.

    Use one account and API surface for image generation workflows.

    Sign up to get free credits
    ToAPIs
    homeToAPIs

    Enterprise AI API gateway: text, image, video, and audio models behind one interface.

    运营主体:
    鯨樞智能科技有限公司
    JINGSHU INTELLIGENT LIMITED
    注册地址:
    ROOM 5042, 5/F, YAU LEE CENTRE, NO.45, HOI YUEN ROAD, KWUN TONG, KOWLOON, HONG KONG
    联系方式:
    support@toapis.com

    Models

    • Sora 2 API
    • Veo 3.1 API
    • GPT Image 2 API
    • All models

    Alternatives

    • Fal.ai alternative
    • Wavespeed AI alternative
    • PiAPI alternative
    • CometAPI alternative
    • Replicate alternative
    • AIMLAPI alternative

    Resources

    • Docs
    • Service status
    • Pricing
    • Privacy
    • Terms
    • Acceptable Use
    • Data Deletion
    • Data Retention
    • Subprocessors & Regions
    • Billing & Refunds
    • Cookie Policy
    • Sitemap
    • About

    © 2026 ToAPIs. All rights reserved.