XD-MU commited on
Commit
0f2a1f2
·
1 Parent(s): 5a6b719

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -114
app.py CHANGED
@@ -190,140 +190,49 @@ Main Character: Above average height / Tall and composed posture / Soft facial f
190
  "file": "demo3.mp4",
191
  "title": "案例 3",
192
  "script": """
193
- DIALOGUE】:
194
 
195
- 1. [0–9 seconds] (Handheld camera effect + panoramic shot, medium close-up)
196
- A wide panoramic long shot reveals the desolate battlefield after the fierce fight: scorched earth, twisted wreckage, and scattered embers still glowing faintly. On the right side of the frame stand the main character and Meng Ya, slightly in front of the ruined landscape, their bodies tense and wary, shoulders angled toward the center. On the left side of the frame, Yuan Xue and Zhao Dongxu lean weakly against a burning wooden stake, with several burning logs at their feet, smoke and sparks curling up behind them.
197
 
198
- Keeping the same left–right positions, the handheld camera begins to move forward in a straight, slightly shaky line, heading toward the left side where the wounded are. It gradually leaves the main character and Meng Ya near the right edge of the frame and pushes in until it settles on a medium close-up of Yuan Xue.
199
 
200
- Yuan Xue is trembling, her long, dark hair disheveled and stuck with sweat to her cheeks. Her pale, sweat-covered face is streaked with ash, and her eyes are wide and full of fear as she looks past the camera toward the main character. Her lips quiver, and in a weak, shaking voice she says:
201
- “Thank you so much… Luckily you arrived in time. Otherwise, we’d already be a barbecue feast…”
202
 
203
- As she finishes, she gasps for breath, her chest rising and falling rapidly. The camera holds on her for a brief beat, then cuts to a medium close-up of the main character from Yuan Xue’s eyeline.
204
 
205
- In this shot, the main character’s figure is steady and upright. His dark tactical uniform is slightly scorched and dusty, his short, neat dark hair ruffled by heat and wind. He frowns slightly, his brows knitting together as his gaze shifts from Yuan Xue down toward Zhao Dongxu, assessing the injuries with professional focus.
206
 
207
- With calm concern and a clear, controlled tone, he asks:
208
- “How badly are you injured? Can you still stand?”
209
 
210
- In the final second, the camera pulls back smoothly to the same panoramic long shot as at the beginning, clearly re-establishing the positions of all four: the main character and Meng Ya on the right, alert and standing; Yuan Xue and Zhao Dongxu on the left, still leaning against the burning logs.
211
 
212
- 2. [9–17 seconds] (Shallow depth of field + panoramic shot, medium shot)
213
- We start from the same long shot, keeping the spatial layout consistent. Zhao Dongxu remains in a crouched, half-sitting posture on the left, his back against the charred log, one hand braced on the ground.
214
 
215
- The camera then cuts in to a medium shot centered on Zhao Dongxu. The background—where the main character and Meng Ya stand—and the distant firelight behind him blur into a soft haze, creating a shallow depth of field. In sharp focus, Zhao Dongxu’s pale face is twisted in pain. Sweat beads on his forehead and runs down his cheeks, mixing with soot. His lips tremble; his eyes glisten with tears.
216
 
217
- He avoids looking toward the main character. Instead, the camera tilts down slightly with his gaze, revealing his numb legs stretched out in front of him, unmoving and twisted at an uncomfortable angle. Without cutting, the shot tilts slowly back up to his face as he stammers:
218
- “I… I can’t feel my legs at all…”
219
 
220
- His voice is hoarse and unsteady, filled with despair and helplessness. The shot holds on his expression for a brief moment, then, in the final second, pulls back into a panoramic long shot again. Zhao Dongxu’s small, collapsed figure on the left contrasts strongly with the main character’s upright, serious posture on the right, emphasizing the difference between despair and composed professionalism.
221
 
222
- 3. [17–25 seconds] (Panning shot + wide shot, medium shot)
223
- We begin once more from a wide long shot of the same battlefield layout: main character and Meng Ya on the right, in front of wreckage and smoke; Yuan Xue and Zhao Dongxu leaning against the burning logs on the left.
224
 
225
- From this position, Meng Ya, who has been standing slightly behind and to the right of the main character, takes two firm steps forward toward the center line between the two sides. His movement subtly changes the composition, placing him roughly between the main character and the wounded pair.
226
 
227
- The camera cuts to a medium shot of Meng Ya from the front. He stands with a sturdy, confident stance, arms crossed over his armored chest. His short, spiky black hair is dusted with ash; his strong facial features are set in a serious expression, and his sharp eyes are fixed on Yuan Xue and Zhao Dongxu just off-camera.
228
 
229
- In a firm, unquestionable tone, he says:
230
- “If you’re not strong enough, you shouldn’t be taking on a top-tier commission. Come with us. We’ll head back to camp and get treatment from Bai Cao’s family.”
231
 
232
- As he finishes, he shifts his weight slightly and turns his upper body to the side, tilting his chin toward the main character. Without cutting, the camera follows this motion with a smooth pan to the right, sliding to a medium shot of the main character.
233
 
234
- The main character stands a half-step behind Meng Ya, still vigilant. His eyes are not on Meng Ya, but scanning the wreckage ahead and the surrounding battlefield, his expression calm and focused. As the camera settles, Meng Ya continues, now addressing the main character:
235
 
236
- “What’s wrong with you? Why are you spacing out?”
237
 
238
- In the last second, the shot widens to a wide shot, showing Meng Ya standing in the middle of the path between the main character on the right and Zhao Dongxu and Yuan Xue on the left. The slight change in their relative positions keeps the blocking from feeling static, while preserving clear left–right orientation.
239
 
240
- 4. [25–34 seconds] (Arc shot + wide shot, close-up)
241
- From the wide shot, the main character now stands slightly ahead of Meng Ya, near the right-center of the frame, facing forward toward the deeper part of the battlefield. Meng Ya, Yuan Xue, and Zhao Dongxu are behind him, closer to the burning logs.
242
-
243
- The main character ignores Meng Ya’s question, his body perfectly still except for the subtle rise and fall of his breathing. His shoulders are squared, his gaze fixed straight ahead.
244
-
245
- The camera begins a slow, smooth arc shot around the main character, starting from his right side and moving toward his front. As the camera moves, the background of wreckage, burning logs, and distant smoke sweeps past behind him, while he remains the stable center of the frame. The arc is continuous and even, maintaining spatial continuity.
246
-
247
- As the camera reaches his front, it gradually pushes in to a close-up of his face. His features are defined and calm; his short, dark hair is slightly mussed but still neat; traces of ash mark his cheeks. His eyes are sharp and focused, brows furrowed slightly, and his lips press into a thin line.
248
-
249
- In a low, steady voice, he says:
250
- “Something’s not right here.”
251
-
252
- His gaze shifts slightly downward and to one side. Without cutting, the camera briefly follows his line of sight to the ground in front of him, where remnants of recently extinguished flames still glow faintly. Charred wood smolders; the air above shimmers with heat.
253
-
254
- As the camera tilts back up to his face, he continues:
255
- “The temperature’s still high, and the flames haven’t really died down… There could still be survivors.”
256
-
257
- In the final second, the shot widens smoothly to a wide shot from behind the group. The main character stands alone at the front, his back forming a dark silhouette against the smoky light ahead. Behind him, in softer focus, Meng Ya, Yuan Xue, and Zhao Dongxu occupy the space near the burning logs, emphasizing his role as the one stepping forward.
258
-
259
- 5. [34–41 seconds] (Crash zoom + wide shot, extreme close-up)
260
- We begin with a wide shot from a slightly raised angle, behind and to the right of the main character. He is still at the front of the group, near the right side of the frame, facing the path into the wreckage. Behind him and slightly to the left stand Meng Ya and the wounded, closer to the burning logs.
261
-
262
- Suddenly, the main character’s gaze shifts sharply to a diagonal angle ahead, up and to the left. The camera adjusts slightly to include more of that direction in frame. Through drifting smoke and heat haze, the silhouette of a small aircraft briefly sweeps across the sky above the wreckage, its dark outline cutting through the bright afternoon light before disappearing behind smoke.
263
-
264
- At the instant of recognition, the camera performs a quick, controlled crash zoom in on the main character’s face, landing on an extreme close-up. His pupils contract violently; the skin around his eyes tightens. We see the small movement of his throat as he gasps softly.
265
-
266
- In a tense, slightly breathless voice, he says:
267
- “And… I’m worried there are still students trapped up ahead.”
268
-
269
- As he speaks, his expression shifts in one continuous motion from shock to firm determination. His eyes harden, focusing on the unseen danger beyond the wreckage. The shot holds for a brief beat, then, in the final second, cuts back to a wide shot from the side.
270
-
271
- In this wide shot, the main character has turned his entire body to face directly toward the road ahead, now closer to the center of the frame. He takes a clear, purposeful step forward along the broken path, his posture upright and resolute. Meng Ya and the wounded remain behind him, near the burning logs, anchoring the spatial continuity.
272
-
273
- 6. [41–49 seconds] (Deep depth of field + panoramic shot, medium-long shot)
274
- We open on a panoramic long shot from behind and slightly above the group. The main character walks forward alone along the debris-strewn road, moving toward the distant wreckage. Behind him, Meng Ya follows for a few steps before gradually slowing down.
275
-
276
- The shot then shifts to a medium-long shot with deep depth of field. In the foreground, we see Meng Ya’s back and shoulders as he stops and turns slightly away from the path the main character is taking. In the midground, the main character’s figure continues to move forward, clearly visible and in focus. In the background, near the burning logs, Yuan Xue helps adjust Zhao Dongxu’s position, preparing to move him.
277
-
278
- Meng Ya raises one hand in a decisive wave toward the main character’s back and calls out loudly:
279
- “Understood. We’ll split up, then. I’ll escort the wounded back to camp first, and I’ll come back to find you later.”
280
-
281
- Without cutting, Meng Ya’s body turns more fully toward Yuan Xue and Zhao Dongxu. He begins walking in the opposite direction from the main character, moving toward the left side of the frame with the wounded. The deep depth of field keeps all three layers—foreground Meng Ya, midground main character, and background wounded—visibly sharp, emphasizing the branching of their paths.
282
-
283
- In the final second, the camera pulls back slightly into a panoramic long shot. The main character is now further down the road on the right, while Meng Ya and the wounded have already walked some distance toward the left, creating a clear visual separation that remains consistent from shot to shot.
284
-
285
- 7. [49–57 seconds] (Whip pan + panoramic shot, medium-long shot)
286
- We begin from a long shot that maintains the established orientation. Meng Ya walks at the front of the group on the left side of the frame, supporting Zhao Dongxu with one arm while Yuan Xue helps from the other side. The main character is visible in the distance on the right, moving along the road ahead.
287
-
288
- After a few steps, Meng Ya slows and then comes to a stop. The camera is positioned slightly behind and to the side of him, showing his back and a partial profile. He starts to turn his head back toward the direction of the main character.
289
-
290
- The camera moves into a medium-long shot from in front of Meng Ya, framing him and the wounded with the main character still visible farther down the road behind them. Meng Ya glances at the main character, concern in his eyes, and raises his voice:
291
- “Hey, don’t go too far! Big Eye Owl will contact you later!”
292
-
293
- Before he finishes the sentence, the camera performs a quick whip pan along his line of sight, from his face toward the main character. The motion blur is brief and controlled, stopping on a stable medium-long shot of the main character, who now stands a few steps ahead of where we last saw him, momentarily pausing to listen. His body is angled forward toward the road, but his head is turned slightly back toward Meng Ya.
294
-
295
- In the final second, the shot widens to a wide panoramic frame from the side. Meng Ya and the wounded stand in the foreground on one side, while the main character stands a few steps away on the road ahead, forming a front-and-back formation with several steps of distance between them—just enough for clear verbal communication and a visually coherent composition.
296
-
297
- 【CHARACTER PROFILES】:
298
-
299
- - Yuan Xue:
300
- Approximately 165 cm tall, with a slender build. Her long, dark hair is disheveled, some strands sticking to her sweat-soaked cheeks. Her facial features are delicate but currently pale and covered in sweat and soot, with fear and tension clearly visible in her eyes. She wears simple, light-colored clothing that clings slightly to her body from sweat, the fabric wrinkled and slightly scorched at the edges. Her demeanor is timid and helpless; her shoulders tremble, her fingers clutch at her clothes or the ground, and she avoids direct eye contact, often glancing away or downward when she speaks.
301
-
302
- - Main Character:
303
- Approximately 180 cm tall, with a well-proportioned, agile build. His facial features are distinct and firm, often accompanied by a slightly furrowed brow that conveys focus and thought. His short, dark hair is clean and neat, though lightly ruffled by battle and wind. He wears a dark tactical uniform that is durable, close-fitting, and easy to move in, with visible seams, straps, and light protective padding. The uniform shows minor damage and dust from combat, but remains orderly. His demeanor is calm, sharp, and professional; he is habitually vigilant, frequently scanning his surroundings. A characteristic habit is that he often gives a small nod when observing or making a judgment, as if confirming details in his mind.
304
-
305
- - Meng Ya:
306
- Approximately 182 cm tall, with a sturdy, solid build and a confident stance. His facial features are strong: a firm jawline, pronounced brows, and sharp eyes that give him a serious, commanding presence. His short, spiky black hair stands up slightly, with a few strands flattened by sweat and ash. He wears a heavily armored combat uniform with visible numbers and markings, giving him the appearance of an experienced frontline fighter. The armor is worn but reliable, with scuff marks and scratches that suggest past battles. His demeanor is that of a young commander—decisive in action and direct in speech. He has a habit of using body language to emphasize his attitude: crossing his arms when he is resolute, lifting his chin toward others to signal or direct, and turning his shoulders firmly when he makes a decision.
307
-
308
- 【SCENE DESCRIPTION】:
309
- A desolate battlefield lies under a clear afternoon sky. The sun is bright but the air is hot and dry, carrying the smell of smoke and burnt metal. The ground is uneven and darkened by scorch marks, with broken pieces of wreckage scattered across the area. Patches of recently extinguished flames remain on the ground: some logs are still burning at the edges, emitting an apocalyptic orange-red glow, while others smolder and release thin wisps of gray smoke. Occasional sparks rise from the burning wood, drifting upward before fading. The overall color palette is a mix of dark charred surfaces, dull metallic wreckage, and the glaring light of fire and sun, creating a harsh, post-battle atmosphere that remains consistent across shots.
310
-
311
- 【BLOCKING】:
312
-
313
- 1. The main character and Meng Ya stand on the right side of the screen, slightly in front of the wreckage, facing toward the left and center. Yuan Xue and Zhao Dongxu are on the left side, slightly behind them, leaning against burning logs and a scorched wooden stake. The distance between the right and left groups is clear but not too wide, allowing for communication.
314
-
315
- 2. Zhao Dongxu remains crouched on the left, back against the burning logs, with Yuan Xue close by his side. The main character and Meng Ya are still positioned on the right, slightly behind the line of the wounded, maintaining alert stances while facing generally toward them and the battlefield ahead.
316
-
317
- 3. Meng Ya steps forward from behind and to the right of the main character, moving toward the central line between the injured pair and the main character. He comes to a stop between the main character and Zhao Dongxu, standing slightly closer to the center, then turns sideways so that one shoulder faces the main character on the right and his gaze is directed toward Zhao Dongxu and Yuan Xue on the left.
318
-
319
- 4. The main character steps half a stride forward from his previous position, now standing alone at the front of the group, facing directly toward the wreckage and the unseen danger ahead. Behind him, slightly spread out, stand Meng Ya, Yuan Xue, and Zhao Dongxu near the burning logs, forming a staggered line in the background.
320
-
321
- 5. The main character, who was facing straight forward, suddenly turns his head and upper body to face diagonally forward, toward the direction of the passing aircraft. His feet remain in place, but his torso and gaze shift, creating a new viewing direction while keeping his position at the front consistent.
322
-
323
- 6. The main character begins walking forward along the debris-strewn road, increasing the distance between himself and the others. Meng Ya, after taking a few steps, stops and turns his back partially to the main character, then starts walking in the opposite direction, back toward Yuan Xue and Zhao Dongxu and the burning logs, forming two diverging paths.
324
-
325
- 7. Meng Ya leads at the front of the group escorting the wounded, moving away from the original center of the battlefield. The main character is behind him on the same rough axis, several steps further along the road in the opposite direction. They form a front-and-back formation, with a clear but not excessive distance between them, making it easy for them to exchange lines while remaining firmly anchored in the same spatial layout.
326
- """
327
  },
328
  {
329
  "file": "demo4.mp4",
 
190
  "file": "demo3.mp4",
191
  "title": "案例 3",
192
  "script": """
193
+ Dialogue】: 1. [0-8 seconds] (Handheld Camera Effect + Wide Shot + Medium Close-up) A wide shot shows the protagonist and Meng Ya standing on a dusty open ground, while Yuan Xue and Zhao Dongxu lean against a tree not far away. The camera zooms in on Yuan Xue and the protagonist in a medium close-up. Yuan Xue is pale and ragged. She wipes the blood from her forehead with her sleeve, looking at the protagonist with fear and gratitude: "Thank you so much! Luckily you arrived in time! Otherwise, we would be a barbecue feast by now..." Upon hearing this, the protagonist's expression turns serious, his sharp eyes scanning the charred marks behind her. The camera pulls back to a wide shot, confirming the four people's positions.
194
 
195
+ 2. [8-16 seconds] (Tilt Shot + Medium Shot) In a wide shot, the protagonist's gaze shifts from Yuan Xue, and he quickly walks to Zhao Dongxu's side. The camera shifts to a medium shot, starting with Zhao Dongxu's pained face. He grits his teeth, his face ashen, struggling to move his legs. The camera tilts downwards, finally focusing on his trembling right knee, which is supporting his body. He weakly whispers, "I can't feel my leg at all..." The camera pulls back to a long shot, showing the protagonist bending down to carefully examine Zhao Dongxu's injuries.
 
196
 
197
+ 3. [16-24 seconds] (Panning Shot + Medium Shot) In the long shot, Meng Ya walks out from behind the protagonist. The camera cuts to a medium shot of Meng Ya, his arms crossed, brows furrowed, and he says impatiently to the protagonist, "What's wrong with you? What are you spacing out for?" He glances in the direction of Yuan Xue and Zhao Dongxu, then his gaze moves past the protagonist to the scorched earth, seemingly assessing the damage. The camera pulls back to a long shot, showing Meng Ya standing side-by-side with the protagonist, creating a sense of confrontation.
198
 
199
+ 4. [24-33 seconds] (Shallow Depth of Field + Close-up) A long shot shows Meng Ya and the protagonist's positions. The camera quickly zooms in on Meng Ya, who becomes blurred in the background. He says with a hint of sarcasm, "If you're not strong enough, don't try to take on a top-tier commission! Come with us, back to the camp to get treatment from Bai Cao's family." Before he finishes speaking, the focus shifts to a close-up of the protagonist. He appears calm, but his gaze is unusually cool. He sniffs the air, confirming that Meng Ya's words have a hidden meaning. The camera pulls back to a long shot, and the protagonist slowly raises his head, looking directly at Meng Ya.
 
200
 
201
+ 5. [33-41 seconds] (Arc Shot + Medium Close-up) A long shot creates a tense atmosphere. The camera begins a slow, arcing movement around the protagonist. Meng Ya's voice is like a ticking time bomb: "Understood. Let's split up then. I'll escort the wounded to the camp first, then come back to find you." In the moving shot, the protagonist's profile appears exceptionally resolute. He doesn't respond to Meng Ya, but instead warily scans his surroundings. Suddenly, his eyes sharpen, as if he's caught something unusual. The camera pulls back to a wide shot; the protagonist has turned completely in another direction.
202
 
203
+ 6. [41-49 seconds] (Crash Zoom + Extreme Close-up) In the wide shot, the protagonist maintains a wary posture. He sniffs the air sharply, his pupils suddenly contracting. The camera instantly zooms in on his eyes, creating an extreme close-up, as if he's discerning the presence of danger: "And... I'm worried there might be other trapped students ahead. Perhaps we should go ahead and scout further." Plot: As soon as he finishes speaking, the camera quickly pulls back to a wide shot; we see him make up his mind and resolutely head towards the unknown danger ahead.
204
 
205
+ 7. [49-57 seconds] (Shaky Cam + Medium-long Shot) In the long shot, Meng Ya is stunned. The camera switches to a handheld medium-long shot, the image shaking slightly with Meng Ya's reaction. He sighs helplessly, points towards the camp, as if to give instructions: "Understood. Let's split up then. I'll escort the wounded to the camp first, then come find you later." Although his tone is dissatisfied, his actions are decisive. The camera pulls back to the long shot, Meng Ya watches the protagonist turn around, then immediately turns and runs in the opposite direction.
 
206
 
207
+ 8. [57-65 seconds] (Deep Depth of Field + Medium-long Shot) In the long shot, Meng Ya has already run dozens of meters. The camera is fixed on a mid-to-long shot with a large depth of field. In the foreground is a blurry silhouette of Meng Ya, who runs while turning back to shout, "Hey, don't go too far! Big Eye Owl will contact you later!" The background is very clear, with the protagonist continuing to walk forward without looking back, his expression unwavering. Plot: The two disappear rapidly into the distance in completely opposite directions. The camera eventually returns to the long shot, showing only...
208
 
209
+ a desolate land, no people left in the Frame.
210
+ 【Character Appearance】: Yuan Xue: Approximately 165cm tall / Slender build, appearing extremely weak due to shock and injuries / Pale face, tattered clothes with burn marks, wiping blood from her forehead with her sleeve / Long, dark hair disheveled, mixed with dust and sweat / Eyes filled with lingering fear and gratitude, movements weak due to swaying body.
211
 
212
+ Main Character: Approximately 180cm tall / Well-proportioned and agile build, efficient movements / Well-defined facial features, serious and sharp eyes, with a wary expression when calmly observing / Short, dark hair, clean and neat / Wearing dark, durable tactical clothing, in good condition / Calm and decisive temperament, strong action ability, habitually using her sense of smell to perceive her environment.
213
 
214
+ Zhao Dongxu: Approximately 178cm tall / Slender build, appearing extremely weak after being injured / Pale face, facial features tense due to pain, obvious... Scarred/Short black hair, greasy with sweat and dust/Expression filled with pain, moving his lower limbs with difficulty, his movements trembling due to the injury/A resilient personality, but now submissive due to severe injuries, full of gratitude towards his comrades but unable to respond due to his physical helplessness.
 
215
 
216
+ Meng Ya: Approximately 182cm tall/Strong build, exuding power/Hard facial features, often frowning, his expression showing impatience with a hint of mockery/Short red hair, messy and with burn marks/Wearing a light combat vest and work pants, his arm muscles are clearly defined/Direct and fiery temperament, acting faster than thinking, possessing leadership but lacking patience with his comrades, once a decision is made, he will execute it immediately.
217
 
218
+ 【Scene Description】: A desolate clearing after a disaster, the air filled with the dust and acrid smell of burning, the sun blazing, and traces of unextinguished flames still remaining on the ground, the overall atmosphere tense, oppressive, and uneasy.
 
219
 
220
+ 【Positioning】: 1: The protagonist and Meng Ya stand side by side. 1. Yuan Xue and Zhao Dongxu lean against a tree in the distance, behind and to the side of the protagonist.
221
 
222
+ 2. The protagonist walks from his original position towards Zhao Dongxu, bending down to check on him; the two are very close.
223
 
224
+ 3. Meng Ya emerges from behind the protagonist, a few steps away, forming a confrontational stance with the two injured people.
 
225
 
226
+ 4. Meng Ya stands side-by-side with the protagonist, facing each other, about an arm's length apart.
227
 
228
+ 5. The protagonist turns around, his back to Meng Ya, scanning his surroundings; Meng Ya remains in place, observing him.
229
 
230
+ 6. The protagonist remains still, turning his body completely forward, isolating himself from Meng Ya and the others behind him.
231
 
232
+ 7. Meng Ya runs towards the distant camp; the protagonist remains in place, watching his retreating figure.
233
 
234
+ 8. The protagonist moves forward, while Meng Ya runs in the opposite direction (away from the protagonist). The distance between them rapidly increases.
235
+ """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  },
237
  {
238
  "file": "demo4.mp4",