How it-althusser/onelaunch works
OneLaunch is a cross-border seller’s AI product-image studio. Sellers enter product facts and reference images in the React workbench; the web client submits a five-image task, while the server pipeline builds a product profile and platform-aware prompts, generates images, checks quality and compliance, and streams progress and results back. Separate workbench actions support single-image repair, three-aspect localization, compliance checks, and detail-page drafts. The README documents these capabilities; sampled source confirms key pipeline, client, and UI links, but not every endpoint implementation detail.
Main entry points: ImagePipelineService.java Image pipeline · App.tsx Studio app · client.ts API client · ModelRouterVisionClient.java Visual review
Components 16
Seller workbench
- Studio app
apps/web/src/App.tsx - Create panel
apps/web/src/components/CreatePanel.tsx - Generation studio
apps/web/src/components/StudioView.tsx - Tool workbench
apps/web/src/components/ToolWorkbench.tsx - Detail pages
apps/web/src/components/DetailPages.tsx - API client
apps/web/src/api/client.ts
Application API
- REST controller
apps/server/src/main/java/com/onelaunch/ApiController.java
Image production
- Image pipeline
apps/server/src/main/java/com/onelaunch/ImagePipelineService.java - Profile and prompts
apps/server/src/main/java/com/onelaunch/ImagePipelineService.java - Image generation and editing
apps/server/src/main/java/com/onelaunch/ModelRouterImageClient.java - Dimension rendering
apps/server/src/main/java/com/onelaunch/DimensionGuideRenderer.java - White background cleanup
apps/server/src/main/java/com/onelaunch/WhiteBackgroundSanitizer.java
Review and rules
- Visual review
apps/server/src/main/java/com/onelaunch/ModelRouterVisionClient.java - Compliance rules
apps/server/src/main/java/com/onelaunch/ComplianceRuleLibrary.java
Model services
- Model Router
Other components
- Seller
Connections 18
- Seller → Studio app: uses
- Studio app → Create panel: collects input
- Studio app → Generation studio: opens studio
- Studio app → Tool workbench: opens tools
- Generation studio → API client: submits task
- Tool workbench → API client: requests actions
- API client → REST controller: sends REST/SSE
- REST controller → Image pipeline: dispatches tasks
- Image pipeline → Profile and prompts: builds profile/prompts
- Image pipeline → Image generation and editing: generates or edits
- Image pipeline → Visual review: checks images
- Image pipeline → White background cleanup: cleans backgrounds
- Image pipeline → Dimension rendering: renders dimensions
- Visual review → Compliance rules: loads rule guidance
- Image generation and editing → Model Router: requests image models
- Visual review → Model Router: requests visual review
- REST controller → Visual review: dispatches compliance checks
- API client → Detail pages: returns detail drafts