Commit graph

31 commits

Author SHA1 Message Date
michael
a447994375 feat: Add per-pet-type prompt templates for song generation
Replace the generic song generation prompt with pet-specific prompt
templates. Each pet type (Dog, Cat, Fish, Bird, Hamster, Gerbil,
Guinea Pig, Rabbit, Bearded Dragon, Leopard Gecko, Corn Snake) now
has its own tailored prompt with pet-specific behaviors and content
restrictions.

Also fix typo: "Beared Dragon" → "Bearded Dragon" in schemas.py and
home.js. The prompts.py file includes backwards compatibility for the
old spelling to handle any pending database records.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 09:47:44 -06:00
michael
9c5b054dcc feat: Add Sonauto streaming audio on waiting page
Enable users to listen to their song while video generation continues
in the background. Backend proxies authenticated Sonauto stream API
since HTML audio elements cannot send auth headers.

- Add streaming_ready_at column to track when stream becomes available
- Enable streaming in Sonauto API request payload
- Handle GENERATING_STREAMING_READY webhook status
- Add /api/stream/{session_id} proxy endpoint using httpx
- Update StatusResponse with streaming_ready and task_id fields
- Add audio player UI with autoplay fallback for mobile
- Fade out audio gracefully before redirect to result page

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 08:23:14 -06:00
Deepak Salunke
1b26b7a374 Pet types & Music type list updated 2026-02-02 18:30:58 +05:30
Deepak Salunke
74b512f5bc Footer: Privacy link added 2026-02-02 14:28:54 +05:30
Deepak Salunke
cc43bf7ff4 Result: Minor css changes 2026-02-01 23:47:39 +05:30
Deepak Salunke
26d5a46767 Result: Ad banners added 2026-02-01 23:08:40 +05:30
Deepak Salunke
c673e55090 Header & Footer changes 2026-02-01 21:23:08 +05:30
Deepak Salunke
673f576b06 Result: Video UI fixed 2026-02-01 17:28:29 +05:30
Deepak Salunke
bf6619accd Banner Image optimize 2026-02-01 01:04:10 +05:30
Deepak Salunke
b4f8451b23 Footer: link added for Music by Sonauto v3 text 2026-01-31 22:51:56 +05:30
Deepak Salunke
8ae1211bd7 Landing page ui changes 2026-01-31 22:43:53 +05:30
DeepakasBTG
a4db48b160 Merge pull request #2 from DeepakasBTG/frontend
Few minor changes in frontend
2026-01-31 19:37:26 +05:30
Deepak Salunke
3b4e9c0c77 Few minor changes in frontend 2026-01-31 19:36:37 +05:30
michael
f10f2e8226 frontend: use /back api base 2026-01-31 06:53:53 -06:00
Harshad
a39c57dbf6 waiting: replace gif with dynamic text 2026-01-31 12:59:18 +05:30
Harshad
5203ac1ba1 result: add video poster 2026-01-31 11:34:57 +05:30
michael
7f1486910f Merge homepage branch with API integration
Resolved conflict in result.php - kept API integration code over static video player.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 10:33:09 -06:00
michael
9d53adaaf3 Add backend API, video generator, and frontend updates
- Add Python/FastAPI backend with Celery workers
- Add video generation with FFmpeg (spinning record animation)
- Add API endpoints: submissions, status polling, webhook, results
- Add database schema and Alembic migrations
- Update frontend pages with API integration
- Add project documentation and spec

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 10:31:58 -06:00
DeepakasBTG
d2771dd747 Merge pull request #1 from DeepakasBTG/homepage
Homepage Code Refactor
2026-01-30 19:25:41 +05:30
Deepak Salunke
700267f0ef Video added & few minor changes for buttons on Result page 2026-01-30 19:16:34 +05:30
Harshad
fa0c02724a match variables to Michaels spec 2026-01-30 18:03:24 +05:30
Harshad
a0050c7d82 refactor localStorage code and add sold-out logic 2026-01-30 17:14:46 +05:30
Harshad
18ead71d06 check & send cookie in form data 2026-01-30 17:05:21 +05:30
Harshad
906965a9d3 add mock API and localStorage 2026-01-30 15:58:31 +05:30
Harshad
6ec4af1d7b add file-upload guardrails 2026-01-30 15:50:44 +05:30
Harshad
5565e7902b initial logic shift from PHP to JS 2026-01-30 14:58:44 +05:30
Harshad
83d589172c compress images & implement opengraph tags 2026-01-30 11:57:12 +05:30
Deepak Salunke
7b2041e9ba Style file updated 2026-01-30 11:13:12 +05:30
Deepak Salunke
7dfe7631ab Record spin added to result page 2026-01-30 10:47:11 +05:30
Deepak Salunke
45efcc8a01 Fix crop image issue 2026-01-29 16:40:22 +05:30
Deepak Salunke
ba76773a47 Initial commit 2026-01-28 12:45:24 +05:30