Skip to main content

APIs & Models

Cubby Image only provides access to official models offered through Replicate, fal.ai, and Gemini (Google Cloud Platform). Official models have higher availability, are actively maintained, and come with predictable pricing, making them more reliable compared to unofficial alternatives.

Important

Please review the terms of service of the API provider(s) as well as the models you plan on using. We make no warranties or guarantees regarding the accuracy, availability, or results of these models. You are responsible for reviewing and complying with the Terms of Service of each provider. Cubby Image is not liable for any damages or losses arising from use of these models.

Replicate

API Provider Website: https://replicate.com

Legal:

Available Models

Image Generation (6 models)

ModelCompanyLink
Nano BananaGoogleView Model
Seedream 4.0ByteDanceView Model
Flux Kontext ProBlack Forest LabsView Model
Flux Kontext MaxBlack Forest LabsView Model
QWEN Image EditAlibabaView Model
Reve EditReve AIView Model

Upscaling (5 models)

ModelCompanyLink
Topaz LabsTopaz LabsView Model
Real-ESRGANTencent ARCView Model
Recraft CrispRecraftView Model
ClarityClarityAIView Model
CrystalClarityAIView Model

Background Removal (5 models)

ModelCompanyLink
BG Remover851-labsView Model
RMBG 2.0Bria AIView Model
BiRefNet v2ZhengPeng7View Model
lucataco BG RemovallucatacoView Model
Recraft BG RemovalRecraftView Model

Pricing

Replicate uses pay-per-use pricing. Costs vary by model. Check each model's page for current pricing.

fal.ai

API Provider Website: https://fal.ai

Legal:

Available Models

Image Generation (6 models)

ModelCompanyLink
Nano BananaGoogleView Model
Seedream 4.0ByteDanceView Model
Flux Kontext ProBlack Forest LabsView Model
Flux Kontext MaxBlack Forest LabsView Model
QWEN Image EditAlibabaView Model
Reve EditReve AIView Model

Upscaling (5 models)

ModelCompanyLink
Topaz LabsTopaz LabsView Model
Real-ESRGANTencent ARCView Model
Recraft CrispRecraftView Model
ClarityClarityAIView Model
CrystalClarityAIView Model

Background Removal (2 models)

ModelCompanyLink
RMBG 2.0Bria AIView Model
BiRefNet v2ZhengPeng7View Model

Pricing

fal.ai uses pay-per-use pricing. Costs vary by model. Check each model's page for current pricing.

Gemini (Google Cloud)

API Provider Website: https://ai.google.dev

Legal:

Available Models

ModelTypeLink
Nano Banana / Gemini 2.5 Flash ImageImage GenerationView Documentation
Limited Availability

Gemini (Google Cloud) only offers access to Gemini Flash 2.5 Image (also known as Nano Banana). Other models are not available through this provider.

Pricing

Gemini uses Google Cloud pricing. Check the Gemini API pricing page for current rates.

Model Comparison

Image Generation Models

ModelSpeedQualityBest ForComplexity
Nano Banana⚡⚡⚡ FastGoodQuick iterations, testingSimple
Seedream 4.0⚡ SlowerExcellentFinal artwork, detailed scenesComplex
Flux Kontext Pro⚡⚡ MediumVery GoodContext-aware generationAdvanced
Flux Kontext Max⚡ SlowerExcellentMaximum quality with contextAdvanced
QWEN Image Edit⚡⚡ MediumVery GoodImage editing and modificationsModerate
Reve Edit⚡⚡ MediumVery GoodHigh-quality generationModerate

Upscaling Models

ModelBest ForProcessing Time
Topaz LabsProfessional-grade upscalingSlower (highest quality)
Real-ESRGANReal-world image restorationMedium
Recraft CrispSharp, detailed upscalingMedium
ClarityEnhanced image clarityMedium
CrystalCrystal-clear premium resultsMedium

Background Removal Models

ModelBest ForProcessing Time
BG RemoverFast, precise removalFast
RMBG 2.0Professional resultsMedium
BiRefNet v2Accurate refinementMedium
lucataco BG RemovalEfficient removalFast
Recraft BG RemovalDesigner-focusedMedium

Choosing the Right Model

For Quick Iterations

Use: Nano Banana

  • Fastest generation times
  • Lower cost per image
  • Great for testing prompts and concepts

For Final Artwork

Use: Seedream 4.0 or Flux Kontext Max

  • Highest quality output
  • Better detail and coherence
  • Worth the extra time and cost

For Context-Aware Generation

Use: Flux Kontext Pro or Flux Kontext Max

  • Advanced understanding of context images
  • Better composition control
  • Ideal when using reference images

For Image Editing

Use: QWEN Image Edit or Reve Edit

  • Specialized for modifications
  • Better at maintaining original image structure
  • Great for inpainting and edits

For Upscaling

Use: Topaz Labs (professional) or Real-ESRGAN (general purpose)

  • Industry-leading quality
  • Multiple upscaling options available
  • Excellent detail preservation

For Background Removal

Use: RMBG 2.0 or BiRefNet v2

  • Professional background removal
  • AI-powered precision
  • Fast processing times

Provider Comparison

Replicate

Pros:

  • Widest model selection
  • Established platform with good reliability
  • Detailed model documentation

Cons:

  • Can be more expensive than fal.ai for some models
  • Occasional high demand periods may cause delays

fal.ai

Pros:

  • Fast inference times
  • Competitive pricing
  • Modern API and dashboard

Cons:

  • Newer platform (less established)
  • Smaller community compared to Replicate

Gemini API

Pros:

  • Google infrastructure (reliable)
  • Good pricing for Nano Banana
  • Simple billing through Google Cloud

Cons:

  • Only one model available (Nano Banana)
  • Requires Google Cloud account setup

API Costs & Billing

Are Image Generations Free?

No. Image generations run through cloud APIs such as Replicate, fal.ai, and Gemini, which involve costs. To use them, you'll need to:

  1. Create an account with your preferred API provider
  2. Set up billing with that provider
  3. Generate an API key
  4. Add the key to Cubby Image

How Billing Works

  • Pay-per-use: You only pay for what you generate
  • Direct billing: Costs are billed directly by the API provider (not through Cubby Image)
  • No hidden fees: Cubby Image does not add any markup or fees
  • Variable costs: Different models have different costs

Estimating Costs

Typical cost ranges (check provider pricing for exact amounts):

  • Nano Banana: $0.001 - $0.01 per image
  • Seedream 4.0: $0.02 - $0.05 per image
  • Flux Kontext: $0.02 - $0.08 per image
  • Upscaling Models: $0.01 - $0.10 depending on model and scale factor
  • Background Removal: $0.001 - $0.02 per image
Managing Costs
  • Start with Nano Banana for testing and iteration
  • Use higher-quality models only for final outputs
  • Generate fewer variants (1-2 instead of 4) during testing
  • Monitor your API provider dashboard for usage

Your Responsibilities

When using Cubby Image and these API providers, you are responsible for:

  1. Reading and complying with each provider's Terms of Service
  2. Understanding each model's license and usage restrictions
  3. Ensuring your use case is permitted under the terms
  4. Managing your own API billing and usage
  5. Complying with applicable laws regarding AI-generated content

Third-Party Services

Cubby Image acts as a client to third-party APIs. We:

  • ✅ Facilitate access to these services
  • ✅ Store your API keys securely and locally
  • ✅ Send your prompts and images only to your chosen provider
  • ❌ Do not control model availability, pricing, or results
  • ❌ Are not liable for provider service interruptions
  • ❌ Do not guarantee any specific model performance

Content Rights

Generated images may have different licensing depending on:

  • The model used
  • The API provider's terms
  • Your account type with the provider

Always review the specific model's license terms before using generated images commercially.