Macaron
BlogResearchFAQ
Product of the Week - Macaron AI
  1. Home
  2. Playbook
  3. Macaron Image Service Starter
Macaron Image Service Starter icon

Macaron Image Service Starter

Flask + React starter wired to Macaron internal image generation

Got4.3K

Features

A reusable Flask and React mini app template with a backend /api/generate-image route connected to the Macaron internal image-to-image service, OSS upload helpers, and frontend-compatible generated image response shape.

Macaron image generation route
Adds POST /api/generate-image and returns session.generatedImageUrl for the frontend ImageGenerator component.
OSS upload bridge
Reuses readonly_utils.image_utils and oss_utils so source images are uploaded before calling the internal image-to-image API.
Reusable Flask React starter
Keeps the lightweight template structure, tests, and build workflow for future mini apps.

Build with Macaron

1. Open the template 2. Configure MACARON_API_KEY or INSTANCE_SECRET_KEY and OSS credentials 3. Test POST /api/generate-image with an uploaded image
”

Read & discover

  • Read novels online free
  • How to find your next book
  • Top book picks
  • Macaron novel app
  • AI-generated novels
  • AI story app

AI Personal Assistant

  • AI assistant prompts
  • AI Personal Assistant
  • AI Life Planner
  • AI Study Planner
  • AI Wardrobe Assistant

Free calculators

  • GCF calculator
  • Number sequence calculator
  • Permutation & combination calculator
  • Big number calculator
  • Stair calculator
  • IRR calculator
  • Voltage drop calculator
  • All tools

Product

  • Macaron app
  • Download Macaron
  • MindLab research
  • Templates

Company

  • Blogs
  • Media reports

Browse blogs by Alphabet

ABCDEFGHIJKLMNOPQRSTUVWXYZOthers

Browse blogs by date

  • 07/25
  • 07/24
  • 07/23
  • 07/22
  • 07/21
  • 07/20
  • 07/17
  • 07/16
Macaron Logo
macaron0fficiallinkedindiscordreddit
Privacy policyTerms & conditions
macaron0fficiallinkedindiscordreddit

You might also like

Same-Style Image Generator

Upload a reference and turn ideas into matched visual variants.

Same-Style Image Generator

Upload a reference and turn ideas into matched visual variants.