File size: 2,729 Bytes
30afa40
 
 
 
 
 
 
56df507
55f3715
 
30afa40
56df507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30afa40
56df507
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
title: README
emoji: 🌍
colorFrom: red
colorTo: green
sdk: gradio
pinned: false
sdk_version: 5.34.2
license: mit
short_description: Immersive Storytelling Lab
---
---

## title: "SIXR Prompt‑to‑Prototype Studio" emoji: "🚀" colorFrom: indigo colorTo: pink sdk: gradio python\_version: 3.10 app\_file: app.py

# SIXR Prompt‑to‑Prototype Studio

Turn a single creative prompt (plus an optional reference image & style) into a miniature **immersive‑media prototype**: multiple loglines, a mood board, a six‑shot storyboard, an animatic description, and a one‑paragraph pitch. Everything is downloadable as a JSON bundle you can feed into downstream SIXR tools.

> **Status :** MVP scaffold & placeholder logic — ready for model hookups ⚡️

---

## 💡 What this Space does

| Feature               | Output                                           |
| --------------------- | ------------------------------------------------ |
| ✏️ **Loglines**       | 3 punchy variants distilled from your prompt     |
| 🖼️ **Mood board**    | 1 hero image placeholder + 9 themed keywords     |
| 🎬 **Shot list**      | 6 framings + camera moves for a quick storyboard |
| ⏯️ **Animatic blurb** | A 4‑second sequence description                  |
| 🗣️ **Pitch summary** | A concise elevator pitch                         |
| 📦 **JSON bundle**    | Everything above, serialized & downloadable      |

---

## 🚀 Quick start

```bash
# 1. Clone the repo (inside your HF Space)
git clone https://huggingface.co/spaces/SIXR/prompt-to-prototype
cd prompt-to-prototype

# 2. (Optional) run locally – requires Python ≥3.10
pip install -r requirements.txt
python app.py  # launches at http://127.0.0.1:7860
```

**Or just click “Open in Spaces”** above — no install needed.

---

## 🛠️ Requirements

```
gradio==4.34.1
pillow
```

Pinned in `requirements.txt` for reproducible builds. Add any model or database libs you need.

---

## 🏗️ Swapping in real models

The core stub lives in \`\`. Replace the placeholder sections with:

* **Text gen** – OpenAI/Anthropic or local LLM via `transformers` for loglines & pitch.
* **Image gen** – Stable Diffusion, DALL‑E 3, or Replicate API for the hero moodboard image.
* **Shot planning** – a custom prompt to GPT‑4o or function‑calling agent.
* **Storage** – write bundle JSON to Firestore / S3 instead of `/tmp` if persistence is required.

---

## 🤝 Contributing

Pull requests are welcome! Please fork, commit with clear messages, and open a PR. For major changes, file an issue first to discuss what you’d like to change.

---

## 📄 License

This project is MIT‑licensed. See `LICENSE` for details.