JUHE API Marketplace

Build a Self-Serve AI Studio Inside Your Marketplace for Photos & Videos

3 min read
By Harper Lewis

Overview

Integrating a self-serve AI-driven media creation studio within your marketplace gives sellers powerful tools to produce high-quality photos and videos without leaving the platform. It streamlines work from initial upload to final publication.

Why Self-Serve AI Studio Matters

Differentiate Your Marketplace

  • Provide exclusive seller tools.
  • Improve listing presentation.
  • Boost buyer engagement and trust.

Cost Advantage

  • Image generation at $0.02 per image with Nano Banana vs official $0.039.
  • Nano Banana Pro tier: $0.068 vs $0.134 per image.
  • Video generation: $0.12 vs $1–$1.5 official. These costs are for official-grade quality, delivered in around 10 seconds per asset.

Performance

  • Reliable 10-second generation.
  • High-volume stability.

Full Workflow Pipeline

Step 1: Upload

Allow bulk and single image/video uploads directly from seller dashboards.

Step 2: Clean & Beautify

  • Remove background automatically.
  • Improve colors and details.

Step 3: Create Showcase Images

  • Add marketplace-brand templates.
  • Embed seller branding or watermarks.

Step 4: Generate Product Videos

  • AI scenes tailored to product type.
  • Adjustable video duration.

Step 5: Publish

Integrate API to attach media to listings instantly.

Implementation with Nano Banana API

Image Generation Example

curl --location --request POST 'https://wisdom-gate.juheapi.com/v1/chat/completions' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data-raw '{
  "model": "gemini-2.5-flash-image",
  "messages": [{"role": "user","content": [{"text": "generate a high-quality image.","type": "text"},
        {"image_url": {"url": "https://blog-images.juhedata.cloud/sample.jpeg"},"type": "image_url/base64"}]}],
  "stream": false
}'

Replace sample.jpeg with seller-upload media URL. Returns base64 image data in about 10 seconds.

Video Generation Example

curl -X POST "https://wisdom-gate.juheapi.com/v1/videos" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: multipart/form-data" \
  -F model="sora-2" \
  -F prompt="A serene lake surrounded by mountains at sunset" \
  -F seconds="15"

Adjust prompt for product-specific context.

Video Status Check

curl -X GET "https://wisdom-gate.juheapi.com/v1/videos/{task_id}" \
  -H "Authorization: Bearer YOUR_API_KEY"

Checks rendering progress asynchronously.

UI/UX Tips

Seller-Friendly Controls

  • Live previews.
  • One-tap publish.

Batch Processing Support

  • Queue processing for multiple assets.
  • Status tracking dashboard.

Marketplace Standards Compliance

  • Auto aspect ratio adjustment.
  • Standard resolution enforcement.

Measurable Outcomes

Improved Conversion

  • Enhanced visuals bring more clicks.
  • Videos encourage longer viewing.

Lower Cost Per Listing

  • Cut manual editing time.
  • Reduce third-party media costs.

Quality at Scale

  • Stable output across large inventories.

Advanced Features

Template Library

  • Seasonal and promotional designs.

AI Scene Suggestions

  • Auto background generation by category.

Analytics Integration

  • Track engagement after media refresh.

Recommendations

Start with a pilot among selected sellers, monitor metrics, then roll out fully, using cost savings as a key feature to attract users.

Conclusion

Deploying a self-serve AI studio into your marketplace connects upload, processing, and publishing in a tight loop, improving speed and quality while cutting per-listing production costs.

Build a Self-Serve AI Studio Inside Your Marketplace for Photos & Videos | JuheAPI