You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/philanthropies/breathing-life-into-stories/includes/3-character-visualization-with-azure-openai-and-dalle.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,39 @@
1
1
In interactive storytelling, strong visuals help bring characters to life and reinforce the tone of the story world. DALL·E, integrated through Azure OpenAI, enables creators to generate custom character portraits using descriptive text prompts. This lesson guides learners through writing effective prompts, refining generated images, and aligning portraits with the narrative style of their story.
2
2
3
-
## Input Character Descriptions into DALL·E for Visual Representation
3
+
## Input character descriptions into DALL·E for visual representation
4
4
5
5
To begin generating visuals, let's write a character prompt that includes physical traits, personality cues, and thematic details.
6
6
7
-
### Writing Effective Prompts
7
+
### Writing effective prompts
8
8
9
-
-**Start with Core Details**
9
+
-**Start with core details**
10
10
Include gender, age, attire, and mood.
11
11
*Example*:
12
12
"A young woman with curly auburn hair, wearing a tattered cloak, standing in a misty forest, looking determined."
13
13
14
-
-**Add Tone and Genre**
14
+
-**Add tone and genre**
15
15
Include descriptors that define the visual style.
16
16
*Example*:
17
-
"In a dark fantasy art style” or “illustrated like a hand-painted storybook."
17
+
"In a dark fantasy art style" or "illustrated like a hand-painted storybook."
18
18
19
-
-**Use Specific Adjectives**
19
+
-**Use specific adjectives**
20
20
Replace vague terms with detailed ones.
21
21
Instead of "pretty," say "sharp cheekbones, confident smile, and vibrant green eyes."
22
22
23
23
The more specific your prompt, the more relevant and story-aligned your result.
24
24
25
-
## How Style, Theme, and Detail Affect the Image
25
+
## How style, theme, and detail affect the image
26
26
27
27
The tone and theme of your prompt directly influence the result. Small changes can significantly shift the visual outcome.
28
28
29
-
### Style Examples
29
+
### Style examples
30
30
31
31
- "in the style of anime" vs. "in a medieval oil painting style"
32
32
- "cyberpunk-inspired with neon lighting" vs. "storybook-style, soft pastel colors"
33
33
34
34
Experimenting with tone, lighting, and visual references allows you to match the image to your world.
35
35
36
-
## Generating and Reviewing Portraits in DALL·E
36
+
## Generating and reviewing portraits in DALL·E
37
37
38
38
Once your prompt is crafted:
39
39
@@ -43,22 +43,22 @@ Once your prompt is crafted:
43
43
44
44
Don’t expect perfection on the first try—DALL·E is a creative collaborator. Slight prompt adjustments can dramatically improve outcomes.
45
45
46
-
## Refining AI-Generated Images to Match the Story Aesthetic
46
+
## Refining AI-generated images to match the story aesthetic
47
47
48
48
To ensure consistency across your cast of characters or narrative setting, you may need to revise or enhance AI-generated portraits.
49
49
50
-
### Techniques for Refinement
50
+
### Techniques for refinement
51
51
52
-
-**Color Adjustment**
52
+
-**Color adjustment**
53
53
Use tools like Designer or external editors (for example, Clipchamp, Paint 3D) to align the color palette across all characters.
54
54
55
-
-**Pose Consistency**
55
+
-**Pose consistency**
56
56
Regenerate with specific pose instructions (for example, "standing with arms crossed" or "sitting on a throne").
57
57
58
-
-**Feature Matching**
58
+
-**Feature matching**
59
59
If needed, regenerate portraits with matching visual traits (for example, family resemblance, shared armor design, house insignias).
60
60
61
-
### Enhancing with Additional Tools
61
+
### Enhancing with additional tools
62
62
63
63
- Use image editors to add shadows, background consistency, or visual effects.
64
64
- Add frames, labels, or expressions that support game mechanics (for example, emotion-based dialogue triggers).
0 commit comments