Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jwrossee
/
straufarm
like
0
Running
App
Files
Files
Community
main
straufarm
27.2 kB
Ctrl+K
Ctrl+K
1 contributor
History:
6 commits
jwrossee
Use React and the material ui component library . - Follow Up Deployment
26720f5
verified
9 months ago
.gitattributes
Safe
1.52 kB
initial commit
9 months ago
README.md
Safe
210 Bytes
undefined - Initial Deployment
9 months ago
index.html
Safe
25.1 kB
Photo Restoration & Colorize AI” is a one-click Assistant that lets users upload a damaged, faded, or black-and-white photo and instantly receive a restored, scratch-free, colorized version. • Problem it solves: Non-technical users struggle with Photoshop-level retouching; outsourcing is slow and expensive. • Who it’s for: Hobbyist photographers, family historians, vintage photo collectors. • Value to PhotoTool.net: Expands the Assistant catalog with a highly shareable, evergreen utility that drives organic traffic (“restore old photos online”) and credit purchases. Core Features 1. Image Upload • What: Accept a single JPG/PNG/GIF/WebP up to 25 MB. • Why: Enables AI processing. • How: User interacts with a React Spectrum DropZone component. After upload, the image is displayed for user confirmation. Upon confirmation via a "Start restoration" button, the frontend POSTs the image to a WP REST endpoint that streams the file to Replicate. 2. AI Restoration & Colorization • What: Removes scratches/tears, repairs noise, and colorizes B&W. • Why: Core value proposition. • How: Backend calls Replicate model flux-kontext-apps/restore-image with static defaults (seed = random, safety_tolerance = 2, output_format = “png”). 3. Credit Deduction • What: Charges, e.g., 5 credits per restore. • Why: Monetization via WooCommerce + MyCred. • How: Before API call, verify balance and deduct; on failure, refund. 4. Result Display + Before/After Slider • What: Side-by-side comparison with a draggable slider. • Why: Immediate visual proof encourages sharing. • How: Use react-compare-image (small, tree-shakable). 5. Download Button (PNG) • What: Let users save the restored image. • Why: Completes the job—user keeps the asset. • How: Direct link to S3/WordPress uploads URL returned by backend. - Follow Up Deployment
9 months ago
style.css
Safe
388 Bytes
initial commit
9 months ago