@danhachuel/thunderbolt 0.4.21 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/main.py +11 -5
- package/hermes_ui/domain.py +2 -1
- package/hermes_ui/pipeline_worker.py +4 -0
- package/hermes_ui/storage.py +12 -1
- package/hermes_ui/thumbnail_blueprints.py +6 -1
- package/package.json +2 -1
- package/scripts/cli.mjs +14 -0
- package/scripts/install.mjs +14 -0
- package/seed/blueprints/thumbnail_blueprint_pairs.json +4 -0
- package/seed/blueprints/thumbnails/Generic_Thumbnail_Blueprint.md +114 -0
- package/seed/blueprints/thumbnails/Militar_Thumbnail_Blueprint.md +241 -0
package/app/main.py
CHANGED
|
@@ -1570,8 +1570,11 @@ def render_thumbnail_blueprints():
|
|
|
1570
1570
|
pair_labels = {item[0]: item[1] for item in pair_options}
|
|
1571
1571
|
pair = st.selectbox("Blueprint de roteiro associado", pair_ids, format_func=lambda item: pair_labels.get(item, item or "Sem Blueprint padrão"), key=f"thumbnail_card_pair_{path.stem}")
|
|
1572
1572
|
if st.button("Guardar associação deste card", key=f"thumbnail_card_pair_save_{path.stem}"):
|
|
1573
|
-
|
|
1574
|
-
|
|
1573
|
+
try:
|
|
1574
|
+
save_thumbnail_blueprint_pair(path.stem, pair)
|
|
1575
|
+
st.success("Associação guardada; canais com esse Blueprint usarão esta thumbnail blueprint automaticamente.")
|
|
1576
|
+
except ValueError as exc:
|
|
1577
|
+
st.error(str(exc))
|
|
1575
1578
|
st.code(path.read_text(encoding="utf-8"), language="markdown")
|
|
1576
1579
|
st.divider()
|
|
1577
1580
|
st.subheader("Associar ao canal e ao Blueprint de roteiro")
|
|
@@ -1597,9 +1600,12 @@ def render_thumbnail_blueprints():
|
|
|
1597
1600
|
script = st.selectbox("Blueprint de roteiro associado", blueprint_ids, index=blueprint_ids.index(current_script) if current_script in blueprint_ids else 0, format_func=lambda item: blueprint_labels.get(item, item or "Sem Blueprint padrão"), key=f"thumbnail_script_blueprint_channel_{channel_id}")
|
|
1598
1601
|
with cols[2]:
|
|
1599
1602
|
if st.button("Guardar par", key=f"thumbnail_blueprint_save_{channel_id}", use_container_width=True):
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
+
if thumb == "Generic_Thumbnail_Blueprint" and script:
|
|
1604
|
+
st.error("Not Allowed to Associate, System Use Only")
|
|
1605
|
+
else:
|
|
1606
|
+
update_channel(channel_id, {"thumbnail_blueprint_id": thumb, "default_thumbnail_blueprint_id": thumb, "blueprint_id": script, "default_blueprint_id": script})
|
|
1607
|
+
st.success("Par Blueprint de roteiro + Thumbnail Blueprint guardado.")
|
|
1608
|
+
st.rerun()
|
|
1603
1609
|
def _tiktok_accounts_from_settings(settings: dict[str, Any]) -> list[dict[str, Any]]:
|
|
1604
1610
|
raw_accounts = settings.get("tiktok_accounts")
|
|
1605
1611
|
if not isinstance(raw_accounts, list) or not raw_accounts:
|
package/hermes_ui/domain.py
CHANGED
|
@@ -6,6 +6,7 @@ from typing import Any
|
|
|
6
6
|
|
|
7
7
|
from .notifications import record_notification
|
|
8
8
|
from .storage import StorageIntegrityError, append_json, now, read_json, update_json, write_json
|
|
9
|
+
from .thumbnail_blueprints import GENERIC_THUMBNAIL_BLUEPRINT_ID
|
|
9
10
|
|
|
10
11
|
STAGES = ["niche", "blueprint", "brand", "topic", "script", "title", "keywords", "video", "thumbnail_prompt", "thumbnail", "upload"]
|
|
11
12
|
# Ordem executada pelo worker. Cada etapa só é executada quando o seu artefacto
|
|
@@ -180,7 +181,7 @@ def create_tasks_for_batch(batch: dict[str, Any]) -> list[dict[str, Any]]:
|
|
|
180
181
|
"generation_settings": payload.get("generation_settings", options.get("generation_settings", {})),
|
|
181
182
|
"blueprint_id": payload.get("blueprint_id") or channel.get("default_blueprint_id") or channel.get("blueprint_id", ""),
|
|
182
183
|
"blueprint_name": payload.get("blueprint_name", ""),
|
|
183
|
-
"thumbnail_blueprint_id": payload.get("thumbnail_blueprint_id") or channel.get("default_thumbnail_blueprint_id") or channel.get("thumbnail_blueprint_id"
|
|
184
|
+
"thumbnail_blueprint_id": payload.get("thumbnail_blueprint_id") or channel.get("default_thumbnail_blueprint_id") or channel.get("thumbnail_blueprint_id") or GENERIC_THUMBNAIL_BLUEPRINT_ID,
|
|
184
185
|
"voice": payload.get("voice") or channel.get("default_voice") or channel.get("voice", ""),
|
|
185
186
|
"automation_on": bool(channel.get("automation_on", False)),
|
|
186
187
|
"automation_time": channel.get("automation_time", "00:00"),
|
|
@@ -24,6 +24,7 @@ from hermes_ui.media_generation import MediaGenerationError, _append_generation_
|
|
|
24
24
|
from hermes_ui.media_providers import FULL_IA_VIDEO_PROVIDER_CODES, media_cards_for_pool, media_provider_definition
|
|
25
25
|
from hermes_ui.material_sources import material_api_keys, material_source_cards, selected_material_source
|
|
26
26
|
from hermes_ui.thumbnail_generation import ThumbnailGenerationError, generate_thumbnail_image
|
|
27
|
+
from hermes_ui.thumbnail_blueprints import thumbnail_blueprint_for_channel
|
|
27
28
|
|
|
28
29
|
PIPELINE_LOCK_FILENAME = "pipeline_worker.lock"
|
|
29
30
|
PIPELINE_LOG_FILENAME = "pipeline_worker.json"
|
|
@@ -1229,6 +1230,9 @@ def _run_task(task: dict[str, Any]) -> dict[str, Any]:
|
|
|
1229
1230
|
blueprint = _blueprint_for_channel(channel)
|
|
1230
1231
|
if not blueprint and (task.get("blueprint_id") or task.get("blueprint_name")):
|
|
1231
1232
|
blueprint = {"id": str(task.get("blueprint_id") or ""), "name": str(task.get("blueprint_name") or task.get("blueprint_id") or "")}
|
|
1233
|
+
visual_blueprint = thumbnail_blueprint_for_channel(channel)
|
|
1234
|
+
if visual_blueprint.get("content"):
|
|
1235
|
+
blueprint = {**blueprint, "thumbnail_blueprint_rules": visual_blueprint["content"]}
|
|
1232
1236
|
route = _normalise_video_route(task, settings)
|
|
1233
1237
|
topic = str(task.get("topic") or "").strip()
|
|
1234
1238
|
if route != "music" and (not topic or str(task.get("topic_source") or "") in {"auto", "llm_pending"}):
|
package/hermes_ui/storage.py
CHANGED
|
@@ -21,6 +21,7 @@ TIKTOK_PROMPT_MASTERS = STORAGE / "tiktok" / "prompts_master"
|
|
|
21
21
|
MEDIA_DOWNLOADS = STORAGE / "downloads"
|
|
22
22
|
NICHES_DATA = STORAGE / "data" / "niches"
|
|
23
23
|
SEED_BLUEPRINTS = ROOT / "seed" / "blueprints"
|
|
24
|
+
SEED_THUMBNAIL_BLUEPRINTS = SEED_BLUEPRINTS / "thumbnails"
|
|
24
25
|
SEED_TIKTOK_PROMPT_MASTERS = ROOT / "seed" / "prompt_masters"
|
|
25
26
|
|
|
26
27
|
DEFAULTS: dict[str, Any] = {
|
|
@@ -359,6 +360,16 @@ def seed_blueprints() -> None:
|
|
|
359
360
|
target = destination / source.name
|
|
360
361
|
if not target.exists():
|
|
361
362
|
shutil.copy2(source, target)
|
|
363
|
+
thumbnail_destination = BLUEPRINTS / "thumbnails"
|
|
364
|
+
thumbnail_destination.mkdir(parents=True, exist_ok=True)
|
|
365
|
+
for source in sorted(SEED_THUMBNAIL_BLUEPRINTS.glob("*.md")):
|
|
366
|
+
target = thumbnail_destination / source.name
|
|
367
|
+
if not target.exists():
|
|
368
|
+
shutil.copy2(source, target)
|
|
369
|
+
pair_source = SEED_BLUEPRINTS / "thumbnail_blueprint_pairs.json"
|
|
370
|
+
pair_target = BLUEPRINTS / "thumbnail_blueprint_pairs.json"
|
|
371
|
+
if pair_source.exists() and not pair_target.exists():
|
|
372
|
+
shutil.copy2(pair_source, pair_target)
|
|
362
373
|
|
|
363
374
|
|
|
364
375
|
def seed_prompt_masters() -> None:
|
|
@@ -400,7 +411,7 @@ def _migrate_settings(settings: Any) -> tuple[dict[str, Any], bool]:
|
|
|
400
411
|
|
|
401
412
|
|
|
402
413
|
def ensure_storage() -> None:
|
|
403
|
-
for path in [STATE, BLUEPRINTS / "canais", BLUEPRINTS / "nichos", BLUEPRINTS / "importados", BLUEPRINTS / "brandings", TIKTOK_PROMPT_MASTERS, MEDIA_DOWNLOADS, STORAGE / "brand", STORAGE / "scripts", STORAGE / "thumbnails", STORAGE / "videos", STORAGE / "artifacts", STORAGE / "python_editor", STORAGE / "influencers", STORAGE / "metadata_cleaner", STORAGE / "metadata_cleaner" / "outputs", STORAGE / "music", STORAGE / "voice_previews", STORAGE / "python_editor", NICHES_DATA]:
|
|
414
|
+
for path in [STATE, BLUEPRINTS / "canais", BLUEPRINTS / "nichos", BLUEPRINTS / "importados", BLUEPRINTS / "brandings", BLUEPRINTS / "thumbnails", TIKTOK_PROMPT_MASTERS, MEDIA_DOWNLOADS, STORAGE / "brand", STORAGE / "scripts", STORAGE / "thumbnails", STORAGE / "videos", STORAGE / "artifacts", STORAGE / "python_editor", STORAGE / "influencers", STORAGE / "metadata_cleaner", STORAGE / "metadata_cleaner" / "outputs", STORAGE / "music", STORAGE / "voice_previews", STORAGE / "python_editor", NICHES_DATA]:
|
|
404
415
|
path.mkdir(parents=True, exist_ok=True)
|
|
405
416
|
seed_blueprints()
|
|
406
417
|
seed_prompt_masters()
|
|
@@ -9,6 +9,9 @@ from typing import Any, Mapping
|
|
|
9
9
|
from .provider_routing import route_llm_json
|
|
10
10
|
from .storage import BLUEPRINTS, atomic_write, list_blueprint_files, load_blueprint_file
|
|
11
11
|
|
|
12
|
+
GENERIC_THUMBNAIL_BLUEPRINT_ID = "Generic_Thumbnail_Blueprint"
|
|
13
|
+
GENERIC_ASSOCIATION_ERROR = "Not Allowed to Associate, System Use Only"
|
|
14
|
+
|
|
12
15
|
PROMPT_MASTER = '''You are a forensic YouTube thumbnail analyst. Build a reusable Thumbnail Blueprint from the reference channel videos below.
|
|
13
16
|
The output must be a practical, locked visual system, not a script blueprint. Infer recurring composition, framing, lighting, color, typography, overlay text, symbols, emotional triggers, mobile readability, aspect ratio, quality and negative constraints. Use the exact Markdown structure of the requested reference: STYLE LOCK, FRAMING & POSE, BACKGROUND & LIGHTING, GEOPOLITICAL SYMBOLS when relevant, VISUAL ATTENTION ELEMENT, TEXT STYLE, TEXT PSYCHOLOGY, COMPOSITION RULES, FORMAT & QUALITY, FINAL OBJECTIVE, FINAL INPUT FORMAT and FINAL SYSTEM INSTRUCTION. Write the document in English. Do not invent channel analytics. The document must instruct future thumbnail generation and include a concise, ready-to-use image prompt template.'''
|
|
14
17
|
|
|
@@ -48,7 +51,7 @@ def thumbnail_blueprint_for_channel(channel: Mapping[str, Any]) -> dict[str, Any
|
|
|
48
51
|
return resolve_thumbnail_blueprint(direct)
|
|
49
52
|
script_id = str(channel.get("default_blueprint_id") or channel.get("blueprint_id") or "").strip()
|
|
50
53
|
pairs = _pair_state()
|
|
51
|
-
return resolve_thumbnail_blueprint(pairs.get(script_id, ""))
|
|
54
|
+
return resolve_thumbnail_blueprint(pairs.get(script_id, "") or GENERIC_THUMBNAIL_BLUEPRINT_ID)
|
|
52
55
|
|
|
53
56
|
|
|
54
57
|
def _pair_state() -> dict[str, str]:
|
|
@@ -61,6 +64,8 @@ def _pair_state() -> dict[str, str]:
|
|
|
61
64
|
|
|
62
65
|
|
|
63
66
|
def save_thumbnail_blueprint_pair(thumbnail_id: str, blueprint_id: str) -> None:
|
|
67
|
+
if str(thumbnail_id) == GENERIC_THUMBNAIL_BLUEPRINT_ID and str(blueprint_id):
|
|
68
|
+
raise ValueError(GENERIC_ASSOCIATION_ERROR)
|
|
64
69
|
pairs = _pair_state()
|
|
65
70
|
if blueprint_id:
|
|
66
71
|
pairs[str(blueprint_id)] = str(thumbnail_id)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danhachuel/thunderbolt",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.23",
|
|
4
4
|
"description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "scripts/cli.mjs",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"scripts/*.mjs",
|
|
19
19
|
"seed/prompt_masters/**/*.md",
|
|
20
20
|
"seed/blueprints/**/*.json",
|
|
21
|
+
"seed/blueprints/**/*.md",
|
|
21
22
|
"seed/skills/*.md",
|
|
22
23
|
"seed/skills/*.py",
|
|
23
24
|
"seed/references/*.md",
|
package/scripts/cli.mjs
CHANGED
|
@@ -75,6 +75,7 @@ function ensureRuntimeStorage() {
|
|
|
75
75
|
join(storageRoot, "blueprints", "nichos"),
|
|
76
76
|
join(storageRoot, "blueprints", "importados"),
|
|
77
77
|
join(storageRoot, "blueprints", "brandings"),
|
|
78
|
+
join(storageRoot, "blueprints", "thumbnails"),
|
|
78
79
|
join(storageRoot, "metadata_cleaner"),
|
|
79
80
|
join(storageRoot, "metadata_cleaner", "originals"),
|
|
80
81
|
join(storageRoot, "metadata_cleaner", "outputs"),
|
|
@@ -93,6 +94,19 @@ function ensureRuntimeStorage() {
|
|
|
93
94
|
const target = join(destination, filename);
|
|
94
95
|
if (!existsSync(target)) copyFileSync(join(seedRoot, filename), target);
|
|
95
96
|
}
|
|
97
|
+
const thumbnailSeedRoot = join(seedRoot, "thumbnails");
|
|
98
|
+
const thumbnailDestination = join(storageRoot, "blueprints", "thumbnails");
|
|
99
|
+
if (existsSync(thumbnailSeedRoot)) {
|
|
100
|
+
for (const filename of readdirSync(thumbnailSeedRoot)) {
|
|
101
|
+
if (filename.endsWith(".md")) {
|
|
102
|
+
const target = join(thumbnailDestination, filename);
|
|
103
|
+
if (!existsSync(target)) copyFileSync(join(thumbnailSeedRoot, filename), target);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const pairSeed = join(seedRoot, "thumbnail_blueprint_pairs.json");
|
|
108
|
+
const pairTarget = join(storageRoot, "blueprints", "thumbnail_blueprint_pairs.json");
|
|
109
|
+
if (existsSync(pairSeed) && !existsSync(pairTarget)) copyFileSync(pairSeed, pairTarget);
|
|
96
110
|
}
|
|
97
111
|
}
|
|
98
112
|
|
package/scripts/install.mjs
CHANGED
|
@@ -103,6 +103,7 @@ function ensureDirs() {
|
|
|
103
103
|
join(storageRoot, "blueprints", "nichos"),
|
|
104
104
|
join(storageRoot, "blueprints", "importados"),
|
|
105
105
|
join(storageRoot, "blueprints", "brandings"),
|
|
106
|
+
join(storageRoot, "blueprints", "thumbnails"),
|
|
106
107
|
join(storageRoot, "tiktok"),
|
|
107
108
|
join(storageRoot, "tiktok", "prompts_master"),
|
|
108
109
|
join(storageRoot, "metadata_cleaner"),
|
|
@@ -130,6 +131,19 @@ function copySeedBlueprints(storageRoot) {
|
|
|
130
131
|
const target = join(destination, filename);
|
|
131
132
|
if (!existsSync(target)) copyFileSync(source, target);
|
|
132
133
|
}
|
|
134
|
+
const thumbnailSeedRoot = join(seedRoot, "thumbnails");
|
|
135
|
+
const thumbnailDestination = join(storageRoot, "blueprints", "thumbnails");
|
|
136
|
+
if (existsSync(thumbnailSeedRoot)) {
|
|
137
|
+
for (const thumbnailFilename of readdirSync(thumbnailSeedRoot)) {
|
|
138
|
+
if (!thumbnailFilename.endsWith(".md")) continue;
|
|
139
|
+
const source = join(thumbnailSeedRoot, thumbnailFilename);
|
|
140
|
+
const target = join(thumbnailDestination, thumbnailFilename);
|
|
141
|
+
if (!existsSync(target)) copyFileSync(source, target);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const pairSource = join(seedRoot, "thumbnail_blueprint_pairs.json");
|
|
145
|
+
const pairTarget = join(storageRoot, "blueprints", "thumbnail_blueprint_pairs.json");
|
|
146
|
+
if (existsSync(pairSource) && !existsSync(pairTarget)) copyFileSync(pairSource, pairTarget);
|
|
133
147
|
}
|
|
134
148
|
|
|
135
149
|
function copySeedPromptMasters(storageRoot) {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
🔒 STYLE LOCK — NON-NEGOTIABLE
|
|
2
|
+
|
|
3
|
+
[One paragraph describing the overall visual style of the channel: e.g., "Clean, minimalist tech-review style with high‑key lighting and product‑centric compositions."]
|
|
4
|
+
|
|
5
|
+
❌ Not allowed (list of elements the channel never uses, based on observed thumbnails):
|
|
6
|
+
- [e.g., No text overlays, no human faces, no saturated colours, etc.]
|
|
7
|
+
- [List all prohibitions observed]
|
|
8
|
+
|
|
9
|
+
🧍♂️ FRAMING & POSE
|
|
10
|
+
|
|
11
|
+
Primary subject(s): [describe the typical main visual element – person, product, scene, etc.]
|
|
12
|
+
|
|
13
|
+
Framing rules:
|
|
14
|
+
- [e.g., Subject placed centre‑left, camera at eye level, etc.]
|
|
15
|
+
- [Additional rules]
|
|
16
|
+
|
|
17
|
+
Camera angle: [typical angle – low, high, eye‑level, etc.]
|
|
18
|
+
|
|
19
|
+
Cropping: [how much of the subject fills the frame, any cropping conventions]
|
|
20
|
+
|
|
21
|
+
Energy / action: [static, dynamic, action‑oriented, etc.]
|
|
22
|
+
|
|
23
|
+
🎨 BACKGROUND & LIGHTING
|
|
24
|
+
|
|
25
|
+
Background environment: [typical setting – studio, outdoor, dark, etc.]
|
|
26
|
+
|
|
27
|
+
Lighting: [high‑key, low‑key, natural, dramatic, etc.]
|
|
28
|
+
|
|
29
|
+
Effects: [any recurring visual effects – bokeh, lens flare, smoke, etc.]
|
|
30
|
+
|
|
31
|
+
Depth: [shallow depth of field, deep focus, etc.]
|
|
32
|
+
|
|
33
|
+
Visual noise: [level of detail, busy vs. clean]
|
|
34
|
+
|
|
35
|
+
🧭 IDENTIFICADORES / SÍMBOLOS DO CANAL
|
|
36
|
+
|
|
37
|
+
[Describe any recurring symbols that instantly communicate context – e.g., national flags, brand logos, specific icons, recurring faces, etc. If none, state explicitly: "The channel does not use any recurring symbolic identifiers."]
|
|
38
|
+
|
|
39
|
+
🚨 VISUAL ATTENTION ELEMENT
|
|
40
|
+
|
|
41
|
+
[Describe if the channel uses arrows, circles, zooms, emojis, etc. – specify colour, shape, position, and usage rules. If the channel does NOT use any such elements, state explicitly: "The channel does not use any visual attention elements."]
|
|
42
|
+
|
|
43
|
+
📝 TEXT STYLE
|
|
44
|
+
|
|
45
|
+
Structure:
|
|
46
|
+
- [Number of text lines / bands, placement – e.g., bottom banner, top left, etc.]
|
|
47
|
+
- [Hierarchy – e.g., main headline larger, sub‑headline smaller]
|
|
48
|
+
|
|
49
|
+
Typography:
|
|
50
|
+
- [Font family, weight, casing – e.g., bold sans‑serif, all caps]
|
|
51
|
+
|
|
52
|
+
Colour hierarchy:
|
|
53
|
+
- [Background colour, text colour for each layer]
|
|
54
|
+
|
|
55
|
+
Text coverage: [approximate % of thumbnail occupied by text – e.g., bottom 30%]
|
|
56
|
+
|
|
57
|
+
🧠 TEXT PSYCHOLOGY
|
|
58
|
+
|
|
59
|
+
[Describe typical emotional triggers used in headlines – e.g., urgency, curiosity, shock, numbers, questions, etc.]
|
|
60
|
+
|
|
61
|
+
Examples of observed words/phrases:
|
|
62
|
+
- [e.g., "You Won't Believe", "Destroyed", "New", "Why", etc.]
|
|
63
|
+
|
|
64
|
+
🎯 COMPOSITION RULES
|
|
65
|
+
|
|
66
|
+
- Rule of thirds application: [where key elements are placed]
|
|
67
|
+
- Focal hierarchy: [order of visual importance – main subject, secondary, text, etc.]
|
|
68
|
+
- Negative space: [how empty areas are used]
|
|
69
|
+
- Distraction control: [what is avoided to keep focus]
|
|
70
|
+
- Mobile‑first design: [ensuring readability on small screens]
|
|
71
|
+
|
|
72
|
+
📐 FORMAT & QUALITY
|
|
73
|
+
|
|
74
|
+
*Aspect ratio:
|
|
75
|
+
16:9
|
|
76
|
+
|
|
77
|
+
*Resolution:
|
|
78
|
+
1280 × 720 minimum
|
|
79
|
+
|
|
80
|
+
*Image style:
|
|
81
|
+
[Photorealistic / illustrated / mixed – describe level of realism]
|
|
82
|
+
|
|
83
|
+
*Sharpness:
|
|
84
|
+
[Expected clarity – e.g., crisp details, slightly soft background]
|
|
85
|
+
|
|
86
|
+
*Restrictions:
|
|
87
|
+
- [List any technical restrictions observed – e.g., no watermarks, no blur, no flat lighting, etc.]
|
|
88
|
+
|
|
89
|
+
🧠 FINAL OBJECTIVE
|
|
90
|
+
|
|
91
|
+
*Primary goal:
|
|
92
|
+
Maximize YouTube CTR for [nicho do canal – e.g., technology reviews, personal finance, true crime, etc.]
|
|
93
|
+
|
|
94
|
+
*Emotional triggers:
|
|
95
|
+
[Target emotions – e.g., curiosity, fear, excitement, etc.]
|
|
96
|
+
|
|
97
|
+
*Audience:
|
|
98
|
+
[Describe target viewer – e.g., tech enthusiasts, investors, etc.]
|
|
99
|
+
|
|
100
|
+
*Thumbnail must instantly communicate:
|
|
101
|
+
[Core message – e.g., "A shocking revelation", "A must‑see product", etc.]
|
|
102
|
+
|
|
103
|
+
🧾 FINAL INPUT FORMAT
|
|
104
|
+
|
|
105
|
+
*VIDEO TITLE:
|
|
106
|
+
"[Insert the actual video title or script topic here]"
|
|
107
|
+
|
|
108
|
+
⚙️ FINAL SYSTEM INSTRUCTION
|
|
109
|
+
|
|
110
|
+
Using the locked style defined above, generate a YouTube thumbnail that strictly follows all compositional, textual, and visual rules.
|
|
111
|
+
|
|
112
|
+
Automatically extract 2–4 words from the provided VIDEO TITLE to serve as the headline, and place it according to the TEXT STYLE rules (including any banner structure).
|
|
113
|
+
|
|
114
|
+
Output must be a ready‑to‑upload 16:9 thumbnail (minimum 1280×720) replicating the channel’s exact visual identity. [Specify if logo is to be included or not – e.g., "WITHOUT LOGO" or "INCLUDE CHANNEL LOGO in top‑left corner".]
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
🔒 STYLE LOCK — NON-NEGOTIABLE
|
|
2
|
+
|
|
3
|
+
*Ultra-dramatic military breaking-news YouTube thumbnail style used by naval defense news channels.
|
|
4
|
+
Photorealistic war imagery featuring modern naval combat scenarios, explosions, missiles, submarines, fighter jets, and warships.
|
|
5
|
+
|
|
6
|
+
The tone is urgent, dramatic, geopolitical crisis, resembling a live military emergency broadcast.
|
|
7
|
+
The visual language must replicate:
|
|
8
|
+
|
|
9
|
+
Breaking news urgency
|
|
10
|
+
High contrast war photography
|
|
11
|
+
Clear geopolitical symbolism using national flags
|
|
12
|
+
Explosions, smoke, missiles, and large red arrows highlighting action
|
|
13
|
+
News-style banner occupying the bottom of the frame
|
|
14
|
+
The style must feel like a shocking military incident that just happened seconds ago.
|
|
15
|
+
|
|
16
|
+
❌ No stylized illustration
|
|
17
|
+
❌ No cartoon elements
|
|
18
|
+
❌ No minimalism
|
|
19
|
+
❌ No soft colors
|
|
20
|
+
❌ No alternate layout structures
|
|
21
|
+
|
|
22
|
+
The system must replicate the exact visual storytelling structure of the reference.
|
|
23
|
+
🧍♂️ FRAMING & POSE
|
|
24
|
+
|
|
25
|
+
Primary subject: large military hardware
|
|
26
|
+
|
|
27
|
+
*Examples:
|
|
28
|
+
Warships
|
|
29
|
+
Missile launches
|
|
30
|
+
Submarines
|
|
31
|
+
Fighter jets
|
|
32
|
+
Naval fleets
|
|
33
|
+
Explosions on ships
|
|
34
|
+
|
|
35
|
+
*Framing rules:
|
|
36
|
+
Main military object center-left or center frame
|
|
37
|
+
Secondary object in background distance
|
|
38
|
+
Action element (missile / explosion / aircraft) top-right or mid-air
|
|
39
|
+
|
|
40
|
+
*Camera angle:
|
|
41
|
+
Cinematic telephoto military photography
|
|
42
|
+
Slightly low or horizon-level perspective
|
|
43
|
+
Ocean horizon visible
|
|
44
|
+
Subjects large and clear
|
|
45
|
+
|
|
46
|
+
*Cropping:
|
|
47
|
+
Military assets must dominate the frame
|
|
48
|
+
Avoid excessive sky
|
|
49
|
+
Ensure action area is visible
|
|
50
|
+
|
|
51
|
+
*Energy:
|
|
52
|
+
Active combat moment
|
|
53
|
+
Missile firing
|
|
54
|
+
Explosion mid-blast
|
|
55
|
+
Smoke rising
|
|
56
|
+
Jets flying overhead
|
|
57
|
+
|
|
58
|
+
🎨 BACKGROUND & LIGHTING
|
|
59
|
+
*Background environment:
|
|
60
|
+
Open ocean battlefield
|
|
61
|
+
Arctic sea
|
|
62
|
+
Cold war naval environment
|
|
63
|
+
Overcast sky or cold blue daylight
|
|
64
|
+
|
|
65
|
+
*Lighting:
|
|
66
|
+
Natural daylight or cold military lighting
|
|
67
|
+
High contrast
|
|
68
|
+
Realistic shadows
|
|
69
|
+
|
|
70
|
+
*Effects required:
|
|
71
|
+
Thick black smoke
|
|
72
|
+
Bright orange explosions
|
|
73
|
+
Missile exhaust flames
|
|
74
|
+
Water splash or waves
|
|
75
|
+
|
|
76
|
+
*Depth:
|
|
77
|
+
Strong atmospheric depth
|
|
78
|
+
Background ships slightly blurred
|
|
79
|
+
|
|
80
|
+
*Visual noise:
|
|
81
|
+
Moderate realism
|
|
82
|
+
Military hardware details must remain sharp
|
|
83
|
+
|
|
84
|
+
🧭 GEOPOLITICAL SYMBOLS
|
|
85
|
+
*Flags used as identifiers:
|
|
86
|
+
National flags placed above ships or aircraft
|
|
87
|
+
Small but clearly visible
|
|
88
|
+
Floating overlay style
|
|
89
|
+
|
|
90
|
+
*Purpose:
|
|
91
|
+
Instantly communicate international conflict
|
|
92
|
+
|
|
93
|
+
*Typical combinations:
|
|
94
|
+
NATO vs Russia
|
|
95
|
+
Western fleets vs adversary forces
|
|
96
|
+
|
|
97
|
+
🚨 VISUAL ATTENTION ELEMENT
|
|
98
|
+
Large red arrow pointing to the key action moment.
|
|
99
|
+
|
|
100
|
+
*Arrow rules:
|
|
101
|
+
Bright red
|
|
102
|
+
Thick outline
|
|
103
|
+
Positioned top-right or top-center
|
|
104
|
+
Pointing directly at explosion, missile, aircraft, or submarine
|
|
105
|
+
Immediate viewer focus
|
|
106
|
+
Mobile screen clarity
|
|
107
|
+
|
|
108
|
+
📝 TEXT STYLE
|
|
109
|
+
Text is placed in a large news banner at the bottom of the thumbnail.
|
|
110
|
+
|
|
111
|
+
*Structure:
|
|
112
|
+
|
|
113
|
+
*Top strip:
|
|
114
|
+
BREAKING NEWS
|
|
115
|
+
|
|
116
|
+
*Main headline:
|
|
117
|
+
2–4 WORDS MAX
|
|
118
|
+
JUST HAPPENED
|
|
119
|
+
1 MINUTE AGO
|
|
120
|
+
THEY ATTACKED
|
|
121
|
+
WAR BEGINS
|
|
122
|
+
SHIP DESTROYED
|
|
123
|
+
|
|
124
|
+
*Bottom strip:
|
|
125
|
+
URGENT ALERT
|
|
126
|
+
|
|
127
|
+
*Typography:
|
|
128
|
+
Bold condensed sans-serif
|
|
129
|
+
Extremely heavy weight
|
|
130
|
+
All caps
|
|
131
|
+
|
|
132
|
+
*Color hierarchy:
|
|
133
|
+
*Top strip:
|
|
134
|
+
Red background
|
|
135
|
+
White text
|
|
136
|
+
|
|
137
|
+
*Main headline:
|
|
138
|
+
Bright yellow background
|
|
139
|
+
Black text
|
|
140
|
+
Text must occupy bottom 30–35% of the thumbnail.
|
|
141
|
+
|
|
142
|
+
🧠 TEXT PSYCHOLOGY
|
|
143
|
+
*The headline must trigger:
|
|
144
|
+
Urgency
|
|
145
|
+
Breaking news shock
|
|
146
|
+
Military escalation
|
|
147
|
+
Fear of global conflict
|
|
148
|
+
Immediate curiosity
|
|
149
|
+
|
|
150
|
+
*Psychological triggers:
|
|
151
|
+
“Just happened”
|
|
152
|
+
“Minutes ago”
|
|
153
|
+
“Attack”
|
|
154
|
+
“War”
|
|
155
|
+
“Emergency”
|
|
156
|
+
|
|
157
|
+
*Goal:
|
|
158
|
+
Viewer must feel they are seeing breaking world news right now.
|
|
159
|
+
|
|
160
|
+
🎯 COMPOSITION RULES
|
|
161
|
+
*Rule of thirds:
|
|
162
|
+
Main military subject center-left
|
|
163
|
+
Action element top-right
|
|
164
|
+
|
|
165
|
+
*Focal hierarchy:
|
|
166
|
+
Explosion / missile / aircraft
|
|
167
|
+
Warship or submarine
|
|
168
|
+
Red arrow
|
|
169
|
+
Headline text
|
|
170
|
+
|
|
171
|
+
*Negative space:
|
|
172
|
+
Sky area used to highlight arrows or aircraft
|
|
173
|
+
|
|
174
|
+
*Distraction control:
|
|
175
|
+
No cluttered UI elements
|
|
176
|
+
Only essential military imagery
|
|
177
|
+
|
|
178
|
+
*Mobile-first design:
|
|
179
|
+
All key elements readable at small mobile sizes
|
|
180
|
+
Text extremely large
|
|
181
|
+
High color contrast
|
|
182
|
+
|
|
183
|
+
📐 FORMAT & QUALITY
|
|
184
|
+
|
|
185
|
+
*Aspect ratio:
|
|
186
|
+
16:9
|
|
187
|
+
|
|
188
|
+
*Resolution:
|
|
189
|
+
1280 × 720 minimum
|
|
190
|
+
|
|
191
|
+
*Image style:
|
|
192
|
+
Hyper-realistic military photography
|
|
193
|
+
High detail naval equipment
|
|
194
|
+
|
|
195
|
+
*Sharpness:
|
|
196
|
+
Military hardware extremely crisp
|
|
197
|
+
Explosion glow vivid
|
|
198
|
+
|
|
199
|
+
*Restrictions:
|
|
200
|
+
❌ No stock-photo watermarks
|
|
201
|
+
❌ No blurry subjects
|
|
202
|
+
❌ No flat lighting
|
|
203
|
+
❌ No modern graphic design layouts
|
|
204
|
+
|
|
205
|
+
🧠 FINAL OBJECTIVE
|
|
206
|
+
|
|
207
|
+
*Primary goal:
|
|
208
|
+
Maximize YouTube CTR for geopolitical military content.
|
|
209
|
+
|
|
210
|
+
*Emotional triggers:
|
|
211
|
+
Shock
|
|
212
|
+
Fear
|
|
213
|
+
Curiosity
|
|
214
|
+
Global conflict intrigue
|
|
215
|
+
|
|
216
|
+
*Audience:
|
|
217
|
+
Military enthusiasts
|
|
218
|
+
Geopolitical news viewers
|
|
219
|
+
Defense technology audiences
|
|
220
|
+
The thumbnail must instantly communicate:
|
|
221
|
+
“A major military incident just happened.”
|
|
222
|
+
|
|
223
|
+
🧾 FINAL INPUT FORMAT
|
|
224
|
+
|
|
225
|
+
*VIDEO TITLE:
|
|
226
|
+
“China's SECRET Kill Chain TARGETS US Carrier — America's 22-Minute Response Left Beijing SPEECHLESS”
|
|
227
|
+
|
|
228
|
+
⚙️ FINAL SYSTEM INSTRUCTION
|
|
229
|
+
|
|
230
|
+
*Using the locked style above, generate a photorealistic military breaking-news thumbnail featuring:
|
|
231
|
+
Modern naval combat scene
|
|
232
|
+
Warships or submarines
|
|
233
|
+
Missiles or explosions
|
|
234
|
+
National flags indicating opposing forces
|
|
235
|
+
Large red arrow highlighting the key moment
|
|
236
|
+
Ocean battlefield environment
|
|
237
|
+
|
|
238
|
+
Auto-generate 2–4 word breaking news headline text and place it in the yellow center banner, maintaining the full BREAKING NEWS / URGENT ALERT news-bar structure.
|
|
239
|
+
|
|
240
|
+
Output must be a ready-to-upload 16:9 YouTube thumbnail replicating the reference style exactly. WITHOUT LOGO
|
|
241
|
+
|