jbilcke-hf HF staff commited on
Commit
31c634e
1 Parent(s): d7495f2

add censorship

Browse files
Files changed (4) hide show
  1. converter.js +27 -15
  2. database.json +101 -1
  3. scripts/censorship.sh +10 -0
  4. scripts/init.sh +2 -0
converter.js CHANGED
@@ -1,17 +1,30 @@
1
  const { v4 } = require('uuid')
2
  const raw = {
3
- "input": "a photorealistic post apocalyptical movie, with city invaded by vegetation, huge carnivorous plants that walk and try to eat the remaining human survivors",
4
  "captions": [
5
- "Photograph of a post-apocalyptic cityscape at dawn, overtaken by jungle-like vegetation. Photorealistic style, panoramic wide-angle view, cinematic quality. High details, golden light casting long shadows, foggy weather conditions, vivid, lush green colors, dew on leaves, 2000s era derelict buildings.",
6
- "High-quality movie footage of a colossal carnivorous plant, ambulating through ruined streets shrouded in fog. Grim, yet lush, fascinating style, ultra-wide angle, cinematic, photorealistic. Rough textured bark, dew-drenched leaves shimmering in soft dawn light, wet concrete, and remnants of modern buildings.",
7
- "Photograph of a small group of human survivors observing from a hideout. Photorealistic, cinematic style, foreground detail of their distressed and dirty clothing, worried expressions, and makeshift weapons. The background is a blurred, richly detailed urban jungle at dawn.",
8
- "Movie shot of human survivors sprinting across a decrepit bridge covered by moss and vines, with colossal carnivorous plants hot in pursuit. High-resolution, suspenseful, dramatic lighting casting long shadows, sweat and fear on their faces, broken modern infrastructure contrasting vibrant, aggressive vegetation.",
9
- "Photorealistic movie still of a large carnivorous plant intricately entwined around a skyscraper. Captured during bright noon, under harsh sunlight, high resolution, breathtaking shot showcasing details including textured plant bark and colossal roots breaking through the concrete, juxtaposed against a cloudless, vivid blue sky.",
10
- "Cinematic movie snippet of a survivor climbing up a vine-covered building, trying to evade a carnivorous plant reaching for him. Shot in high resolution during midday, focus on the tense physical effort, grimy, scarred skin and terrified eyes, extensive urban jungle backdrop, clear sky above.",
11
- "High-quality movie scene showing a carnivorous plant catching a glimpse of a group of survivors in an underground sewer. Photorealistic style, low angle perspective of the plant peering down, with a flickering sliver of daylight illuminating mossy brick walls, surface water, and fearful human faces.",
12
- "Epic dusk shot of silhouette of human figures running across the horizon with carnivorous plants close behind. Photorealistic, cinematic quality, the details in the shadows and the sky painted with hues of orange, pink, and purple. The buildings lay in ruins, overgrown with vegetation.",
13
- "Night scene of the survivors huddled around a fire in an overgrown city park, old world monuments looming in the dark. Photorealistic details of the firelight flickering on their faces, cast-long shadows and bouncing off the textured leaves. The park overgrown with eerie vegetation, stars visible above the ruined skyline.",
14
- "Movie ending shot of dawn breaking over the vegetated cityscape, the survivors and plants in a temporary standoff. Photorealistic style, wide-angle view showing the changing sky colors, dew-drenched leaves reflecting the early light, the human figures small and resolute, holding their ground. Cinematic, quiet anticipation before the next battle."
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ]
16
  }
17
  const result = {
@@ -19,13 +32,12 @@ const result = {
19
  "skip": false,
20
  "lastGenerationAt": "",
21
  "videoPrompt": raw.input,
22
- "audioPrompt": "intense and fast-paced electronic and orchestra music with synthetisers, electronic drum machine",
23
  "tags": [
24
  "trailer",
25
  "comedy",
26
- "action",
27
- "adventure",
28
- "science-fiction"
29
  ],
30
  "channel": "main",
31
  "shots": raw.captions.map((cap, i) => ({
 
1
  const { v4 } = require('uuid')
2
  const raw = {
3
+ "input": "a 3d render, Pixar-like movie about animals boxing and fighting each other in various arenas",
4
  "captions": [
5
+ "3D render > intense boxing scene with a kangaroo and a raccoon in a rustic wooden ring, surrounded by cheering crowd of various animals > Pixar-like style, cute and comical, detailed textures of wood, fur and red boxing gloves > low angle shot under morning sunlight, long shadows stretching, bokeh effect > cinematic, photorealistic, movie, award-winning",
6
+
7
+ "3D render > cute lion in shorts, big red boxing gloves, sparring against a wiry, quick footed zebra, both bathed in a spectacular sunset > Pixar-like style, comical, with a desert savannah arena background > wide-angled perspective, detailed fur, hair, and smooth animation > cinematic, photorealistic, movie",
8
+
9
+ "3D render > A humorously serious boxing event in a rainforest setting, monkey wearing golden gloves, fighting a towering bear > Pixar-like style, funny expressions, lush greenery, lighting from dappled sunlight > aerial view showcasing detailed ring, audience, canopy > cinematic, photorealistic, movie",
10
+
11
+ "3D render > Attention grabbing scene of giraffe and fox, big red boxing gloves, in indoor professional fighting ring, surrounded by darkened crowd > Pixar-like style, hyper-details, dramatic, multicolored spotlights > close-up shot, accent lighting on fighters, grainy texture > shot with Arri Alexa LF > cinematic, photorealistic, movie",
12
+
13
+ "3D-render > twin-tailed sly raccoon fighting a heavyweight rhino in an urban rooftop arena under neon lights > Pixar-like style, radiant colors, rooftops of buildings lining horizon > wide-angle night view, showing aerial shot cinematic, photorealistic, movie",
14
+
15
+ "3D render > boxing match featuring muscular kangaroo and agile meerkat in ancient Roman Colosseum, filled with animal spectators > Pixar-like style, detailed stone textures, warm afternoon ambiance > 300 degree panoramic view, luscious 3D color depth > cinematic, photorealistic, movie",
16
+
17
+ "3D render > dueling scene featuring bear and cougar in massive ring set amidst icy mountain peaks > Pixar-like style, gleaming icy textures, cool blue palette > pulled back camera shot showing full scope of mountains and fighting ring in sharp relief > cinematic, photorealistic, movie",
18
+
19
+ "3D-render > lanky flamingo sparring against sturdy hippopotamus in bustling metropolis, concrete ring with skyscrapers backdrop > Pixar-like style, dynamic movements, colorful feather vs thick skin texture > aerial shot that sweeps over the urban scenery > cinematic, photorealistic, movie",
20
+
21
+ "3D render > night fight under the stars, lizard vs rabbit, in a ring surrounded by nocturnal animals in an open Savannah > Pixar-like style, vibrant but eerie, detailed skin and fur textures > dutch angle shot, lit from the sides highlighting the fighters' textures > cinematic, photorealistic, movie",
22
+
23
+ "3D render > dramatic fight of a well-muscled bull and a nimble mongoose in an old traditional Japanese dojo > Pixar like style, high quality lighting, ornate wood, paper panel textures > close-up shot showcasing fierce attacks and evasive maneuvers > cinematic, photorealistic, movie",
24
+
25
+ "3D render > boxing match featuring an aggressive wolverine and an athletic cheetah in an underwater boxing ring, surrounded by oceanic life > Pixar-like style, glossy textures, rich colors and highly detailed animal skins > wide-angle perspective, notable scenery detail in the background > cinematic, photorealistic, movie",
26
+
27
+ "3D render > Boxing match between a turtle and a squirrel on a boxing ring in the middle of a dense jungle, with various animals watching keenly > Pixar-like style, detailed and textured turtle shell and squirrel fur, ambient lighting > Jungle canopy shot above the ring against the backdrop of a setting sun > cinematic, photorealistic, movie"
28
  ]
29
  }
30
  const result = {
 
32
  "skip": false,
33
  "lastGenerationAt": "",
34
  "videoPrompt": raw.input,
35
+ "audioPrompt": "fast-paced combat music with guitars rifss and electronic drum loop",
36
  "tags": [
37
  "trailer",
38
  "comedy",
39
+ "animation",
40
+ "action"
 
41
  ],
42
  "channel": "main",
43
  "shots": raw.captions.map((cap, i) => ({
database.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": 1,
3
- "startAtShotId": "",
4
  "sequences": [
5
  {
6
  "sequenceId": "6fdd2803-180a-4ca4-b168-aa2e19146dc0",
@@ -246,6 +246,106 @@
246
  }
247
  ]
248
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  {
250
  "sequenceId": "3b7fb664-f50a-4e2d-b63b-e1fedb22e501",
251
  "skip": false,
 
1
  {
2
  "version": 1,
3
+ "startAtShotId": "3dec87d4-bb0a-4bd7-9cc2-c5495d621a63",
4
  "sequences": [
5
  {
6
  "sequenceId": "6fdd2803-180a-4ca4-b168-aa2e19146dc0",
 
246
  }
247
  ]
248
  },
249
+ {
250
+ "sequenceId": "6d9345ee-8833-4404-9881-1eb5295a4dce",
251
+ "skip": false,
252
+ "lastGenerationAt": "",
253
+ "videoPrompt": "a 3d render, Pixar-like movie about animals boxing and fighting each other in various arenas",
254
+ "audioPrompt": "fast-paced combat music with guitars rifss and electronic drum loop",
255
+ "tags": [
256
+ "trailer",
257
+ "comedy",
258
+ "animation",
259
+ "action"
260
+ ],
261
+ "channel": "main",
262
+ "shots": [
263
+ {
264
+ "shotId": "d03777c1-95c5-4897-ab9a-657691d0572b",
265
+ "index": 0,
266
+ "lastGenerationAt": "",
267
+ "videoPrompt": "3D render > intense boxing scene with a kangaroo and a raccoon in a rustic wooden ring, surrounded by cheering crowd of various animals > Pixar-like style, cute and comical, detailed textures of wood, fur and red boxing gloves > low angle shot under morning sunlight, long shadows stretching, bokeh effect > cinematic, photorealistic, movie, award-winning",
268
+ "audioPrompt": ""
269
+ },
270
+ {
271
+ "shotId": "bf474352-7900-4d30-a6ce-71daa90d13ee",
272
+ "index": 1,
273
+ "lastGenerationAt": "",
274
+ "videoPrompt": "3D render > cute lion in shorts, big red boxing gloves, sparring against a wiry, quick footed zebra, both bathed in a spectacular sunset > Pixar-like style, comical, with a desert savannah arena background > wide-angled perspective, detailed fur, hair, and smooth animation > cinematic, photorealistic, movie",
275
+ "audioPrompt": ""
276
+ },
277
+ {
278
+ "shotId": "462d6e5d-3808-45a5-ad99-2922bd0f3e86",
279
+ "index": 2,
280
+ "lastGenerationAt": "",
281
+ "videoPrompt": "3D render > A humorously serious boxing event in a rainforest setting, monkey wearing golden gloves, fighting a towering bear > Pixar-like style, funny expressions, lush greenery, lighting from dappled sunlight > aerial view showcasing detailed ring, audience, canopy > cinematic, photorealistic, movie",
282
+ "audioPrompt": ""
283
+ },
284
+ {
285
+ "shotId": "2585970f-9185-467b-b77c-d10d2e1c62a0",
286
+ "index": 3,
287
+ "lastGenerationAt": "",
288
+ "videoPrompt": "3D render > Attention grabbing scene of giraffe and fox, big red boxing gloves, in indoor professional fighting ring, surrounded by darkened crowd > Pixar-like style, hyper-details, dramatic, multicolored spotlights > close-up shot, accent lighting on fighters, grainy texture > shot with Arri Alexa LF > cinematic, photorealistic, movie",
289
+ "audioPrompt": ""
290
+ },
291
+ {
292
+ "shotId": "90dad145-485d-4baa-8ff1-3c9add99977a",
293
+ "index": 4,
294
+ "lastGenerationAt": "",
295
+ "videoPrompt": "3D-render > twin-tailed sly raccoon fighting a heavyweight rhino in an urban rooftop arena under neon lights > Pixar-like style, radiant colors, rooftops of buildings lining horizon > wide-angle night view, showing aerial shot cinematic, photorealistic, movie",
296
+ "audioPrompt": ""
297
+ },
298
+ {
299
+ "shotId": "f86b0c9a-06eb-4af8-aac5-f0e66c052150",
300
+ "index": 5,
301
+ "lastGenerationAt": "",
302
+ "videoPrompt": "3D render > boxing match featuring muscular kangaroo and agile meerkat in ancient Roman Colosseum, filled with animal spectators > Pixar-like style, detailed stone textures, warm afternoon ambiance > 300 degree panoramic view, luscious 3D color depth > cinematic, photorealistic, movie",
303
+ "audioPrompt": ""
304
+ },
305
+ {
306
+ "shotId": "4fd578a9-5e99-489d-8c7c-663d51a7aa32",
307
+ "index": 6,
308
+ "lastGenerationAt": "",
309
+ "videoPrompt": "3D render > dueling scene featuring bear and cougar in massive ring set amidst icy mountain peaks > Pixar-like style, gleaming icy textures, cool blue palette > pulled back camera shot showing full scope of mountains and fighting ring in sharp relief > cinematic, photorealistic, movie",
310
+ "audioPrompt": ""
311
+ },
312
+ {
313
+ "shotId": "fad5eec6-b5b4-42a1-90db-fdc7b9231a7c",
314
+ "index": 7,
315
+ "lastGenerationAt": "",
316
+ "videoPrompt": "3D-render > lanky flamingo sparring against sturdy hippopotamus in bustling metropolis, concrete ring with skyscrapers backdrop > Pixar-like style, dynamic movements, colorful feather vs thick skin texture > aerial shot that sweeps over the urban scenery > cinematic, photorealistic, movie",
317
+ "audioPrompt": ""
318
+ },
319
+ {
320
+ "shotId": "6ce81490-5293-4055-99d5-c2bce01fb662",
321
+ "index": 8,
322
+ "lastGenerationAt": "",
323
+ "videoPrompt": "3D render > night fight under the stars, lizard vs rabbit, in a ring surrounded by nocturnal animals in an open Savannah > Pixar-like style, vibrant but eerie, detailed skin and fur textures > dutch angle shot, lit from the sides highlighting the fighters' textures > cinematic, photorealistic, movie",
324
+ "audioPrompt": ""
325
+ },
326
+ {
327
+ "shotId": "a58b54f7-4b1b-4312-9fb3-493f8872f14c",
328
+ "index": 9,
329
+ "lastGenerationAt": "",
330
+ "videoPrompt": "3D render > dramatic fight of a well-muscled bull and a nimble mongoose in an old traditional Japanese dojo > Pixar like style, high quality lighting, ornate wood, paper panel textures > close-up shot showcasing fierce attacks and evasive maneuvers > cinematic, photorealistic, movie",
331
+ "audioPrompt": ""
332
+ },
333
+ {
334
+ "shotId": "6b64e790-7ecd-48ed-9f38-a396b8955a11",
335
+ "index": 10,
336
+ "lastGenerationAt": "",
337
+ "videoPrompt": "3D render > boxing match featuring an aggressive wolverine and an athletic cheetah in an underwater boxing ring, surrounded by oceanic life > Pixar-like style, glossy textures, rich colors and highly detailed animal skins > wide-angle perspective, notable scenery detail in the background > cinematic, photorealistic, movie",
338
+ "audioPrompt": ""
339
+ },
340
+ {
341
+ "shotId": "53bac684-3d1d-4215-9dd3-d731e748ea77",
342
+ "index": 11,
343
+ "lastGenerationAt": "",
344
+ "videoPrompt": "3D render > Boxing match between a turtle and a squirrel on a boxing ring in the middle of a dense jungle, with various animals watching keenly > Pixar-like style, detailed and textured turtle shell and squirrel fur, ambient lighting > Jungle canopy shot above the ring against the backdrop of a setting sun > cinematic, photorealistic, movie",
345
+ "audioPrompt": ""
346
+ }
347
+ ]
348
+ },
349
  {
350
  "sequenceId": "3b7fb664-f50a-4e2d-b63b-e1fedb22e501",
351
  "skip": false,
scripts/censorship.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Some video generated by GPT-4 may not look so good,
4
+ # Or depict humans in an inappropriate way
5
+
6
+ echo "removing inappropriate videos.."
7
+ rm -f $WEBTV_VIDEO_STORAGE_PATH_CHANNEL_2*2f6806a9-5cee-4892-adba-83548122309f*
8
+ rm -f $WEBTV_VIDEO_STORAGE_PATH_CHANNEL_2*6741315d-9b5e-43ef-ab6d-e14e6f93897a*
9
+ rm -f $WEBTV_VIDEO_STORAGE_PATH_CHANNEL_2*e756d6ea-c424-4a05-b553-4be80ec68513*
10
+ rm -f $WEBTV_VIDEO_STORAGE_PATH_CHANNEL_2*d6bb4dcf-65ce-4e73-b39d-e5f6d58001fc*
scripts/init.sh CHANGED
@@ -7,6 +7,8 @@ mkdir -p $WEBTV_AUDIO_STORAGE_PATH_CHANNEL_1
7
 
8
  bash scripts/download_fresh_music.sh
9
 
 
 
10
  echo "creating the playlists for channel 1.."
11
  echo "ffconcat version 1.0" > channel_1_video.txt
12
  echo "ffconcat version 1.0" > channel_1_audio.txt
 
7
 
8
  bash scripts/download_fresh_music.sh
9
 
10
+ bash scripts/censorship.sh
11
+
12
  echo "creating the playlists for channel 1.."
13
  echo "ffconcat version 1.0" > channel_1_video.txt
14
  echo "ffconcat version 1.0" > channel_1_audio.txt