Skip to main content
    Developer API

    On-brand visuals, in your stack.

    Drop Flashly's on-brand image and video generation into any application. Pass your logo, palette and voice with each request, describe the visual in one plain sentence, and the Adaptive Brand Engine handles the model and the brand.

    No prompt engineering · No model to pick · Enterprise-grade auth, rate limiting and analytics

    Everything you need

    Built to build on.

    Lightning fast

    Generate images in 2–5 seconds and videos in under 2 minutes. Optimized for performance.

    Secure authentication

    API key authentication, with keys stored as SHA-256 hashes. Revoke keys instantly if compromised.

    Built-in analytics

    Track usage, monitor performance and analyze API calls with a detailed analytics dashboard.

    Rate limiting

    Configurable rate limits per minute and per day. Automatically scales with your plan.

    Credit management

    Integrated credit system with transparent pricing. Credits deducted automatically per request.

    Resilient infrastructure

    Automatic failover and retries across providers. Agency plans include priority support.

    Quickstart

    One POST to your first image.

    generate-image.ts
    // Initialize API
    const apiKey = "flsh_your_api_key_here";
    const baseURL = "https://uhbetxlhnjsohjiwmunt.supabase.co/functions/v1";
    
    // Generate an image
    const response = await fetch(`${baseURL}/api-v1-generate-image`, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "x-api-key": apiKey
      },
      body: JSON.stringify({
        prompt: "Professional product photo on white background",
        templateId: "uuid-here", // Optional
        customVariables: { product: "sneakers" } // Optional
      })
    });
    
    const data = await response.json();
    console.log(data.imageUrl); // Your generated image URL
    Built for scale

    Powers visual content at any scale.

    E-commerce platforms

    Auto-generate product images and videos at scale. Process thousands of products daily.

    Marketing tools

    Build AI-powered content creation features into your marketing platform.

    SaaS applications

    Add professional, on-brand visual generation to your product offering.

    Agency plan & up

    Start building today.

    Get your API key and ship visual content features in an afternoon.