การระบุรูปแบบและสื่อศิลป์
ภาพเสมือนจริง ภาพสีน้ำมัน ภาพสีน้ำ และภาพเรนเดอร์สามมิติ — คำศัพท์ด้านรูปแบบ
การระบุรูปแบบและสื่อศิลป์ เป็นบทเรียน AI Prompt Engineering ฟรีบน CoddyKit นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน AI Prompt Engineering และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส AI Prompt Engineering มีบทเรียนทั้งหมด 4 บทเรียน
เหตุใดคำศัพท์ด้านสไตล์จึงสำคัญ
โมเดลสร้างภาพได้รับการฝึกด้วยภาพที่มีคำบรรยายหลายพันล้านภาพ โมเดล 'รู้จัก' ภาษาภาพของสไตล์ กระแสศิลปะ และศิลปินเฉพาะราย การใช้คำศัพท์ด้านสไตล์ที่แม่นยำเปรียบเสมือนการพูดภาษาที่โมเดลเข้าใจโดยตรง เพราะช่วยเรียกใช้รูปแบบภาพที่เรียนรู้มาโดยตรง แทนการพึ่งพาคำบรรยายที่คลุมเครือ
สไตล์ภาพเสมือนจริง
พรอมต์ที่มีลักษณะเป็น ภาพเสมือนจริง จะสั่งให้โมเดลสร้างภาพที่แยกไม่ออกจากภาพถ่ายจริง คำศัพท์สำคัญและวิธีใช้มีดังนี้:
photorealistic_prompts = [
# Basic photorealism
'photorealistic portrait of a woman, DSLR photograph, '
'f/1.8 aperture, 85mm lens, bokeh background, natural light',
# Hyperrealism (even more detailed than photo)
'hyperrealistic painting of a weathered old door, '
'every crack and grain of wood visible, photorealistic quality',
# Studio photography
'product photography, white background, studio lighting, '
'sharp focus, commercial quality, shot on Canon EOS R5',
# Environmental photography
'documentary photograph, photojournalism style, '
'natural unposed lighting, 35mm film grain, raw authentic moment',
]
for prompt in photorealistic_prompts[:2]:
print(prompt[:80], '...')
# Key terms for photorealism
photo_keywords = [
'DSLR', 'shot on [camera model]', 'f/[aperture]', '[mm] lens',
'bokeh', 'depth of field', 'film grain', 'natural light'
]รูปแบบภาพวาดสีน้ำมัน
ภาพวาดสีน้ำมันครอบคลุมขนบที่แตกต่างกันหลายศตวรรษ การระบุสไตล์ภายในภาพวาดสีน้ำมัน เช่น บาโรก อิมเพรสชันนิสม์ หรือจิตรกรเอกชาวดัตช์ จะเรียกใช้คลังภาษาภาพที่แตกต่างกันอย่างมาก
oil_painting_styles = {
'classical_baroque': (
'oil painting in the style of Rembrandt, '
'chiaroscuro lighting, rich earth tones, '
'detailed fabric and texture, dramatic shadows, '
'museum quality, Dutch Golden Age'
),
'impressionist': (
'impressionist oil painting inspired by Monet, '
'visible brushstrokes, soft edges, '
'light and atmosphere over detail, '
'en plein air quality, dappled light'
),
'post_impressionist': (
'oil painting in the bold style of Van Gogh, '
'swirling expressive brushwork, '
'complementary color contrasts, '
'thick impasto texture, emotional intensity'
),
'contemporary_realism': (
'contemporary oil painting, hyperrealistic, '
'smooth blending, photorealistic quality, '
'intense focus on textures, classical technique'
)
}
for name, prompt in oil_painting_styles.items():
print(f'{name}:')
print(' ', prompt[:70], '...')
print()คำศัพท์ด้านสไตล์สีน้ำ
สีน้ำมีลักษณะเฉพาะทางภาพ ได้แก่ ขอบนุ่ม การระบายสีโปร่งใส พื้นผิวกระดาษที่มองเห็นได้ และการซึมไหลของสีอย่างนุ่มนวล คำศัพท์ที่เรียกใช้คุณลักษณะเหล่านี้มีดังนี้:
watercolor_prompts = [
# Classic watercolor
'delicate watercolor illustration of cherry blossoms, '
'soft washes of pink and white, paper texture visible, '
'loose brushwork, gentle bleeding edges, '
'traditional Japanese botanical art style',
# Urban sketching style
'watercolor urban sketch of a Paris cafe, '
'loose gestural lines with ink, '
'selective color washes over pen sketch, '
'travel journal illustration style',
# Children\'s book style
'charming watercolor illustration for a children\'s book, '
'soft pastel colors, cute rounded shapes, '
'whimsical details, storybook warmth',
]
# Key watercolor vocabulary
watercolor_keywords = [
'watercolor wash', 'soft edges', 'translucent', 'paper texture',
'bleeding colors', 'wet-on-wet technique', 'loose brushwork',
'granulation', 'wet-on-dry', 'color bloom'
]
print('Watercolor example:', watercolor_prompts[0][:100], '...')รูปแบบการเรนเดอร์ 3 มิติ
การเรนเดอร์ 3 มิติมีรูปลักษณ์เฉพาะที่แตกต่างกันหลายแบบ ชื่อกลไกเรนเดอร์และโปรแกรมจะเรียกใช้ระดับคุณภาพและสุนทรียะทางภาพที่เฉพาะเจาะจง
rendering_styles = {
'octane_render': (
'3D render, Octane renderer, photorealistic, '
'subsurface scattering on skin, ray-traced reflections, '
'global illumination, cinematic depth of field, '
'highly detailed environment'
),
'blender_stylized': (
'Blender 3D render, stylized low-poly art, '
'smooth shading, vibrant colors, '
'isometric perspective, indie game aesthetic'
),
'unreal_engine': (
'Unreal Engine 5 render, photoreal environment, '
'Lumen global illumination, Nanite geometry, '
'cinematic quality, game engine screenshot'
),
'clay_render': (
'3D clay render, matte white material, '
'soft studio lighting, clean shadows, '
'product design visualization, no textures'
),
'vfx_compositing': (
'VFX quality 3D render, photorealistic compositing, '
'motion blur, film grain, color grading, '
'blockbuster movie quality'
)
}
print('Octane render example:', rendering_styles['octane_render'][:80], '...')รูปแบบหนังสือการ์ตูนและภาพประกอบ
รูปแบบภาพประกอบที่มีงานเส้นโดดเด่นต้องใช้คำศัพท์ที่อธิบายคุณภาพของเส้น วิธีการใช้ technique เพื่อสร้างเงา และแนวทางการใช้สี สไตล์หนังสือการ์ตูนเป็นหนึ่งในรูปแบบภาพประกอบที่มีผู้ขอมากที่สุด
illustration_styles = {
'comic_book': (
'comic book style, bold black outlines, '
'flat cel-shaded colors, halftone dot pattern, '
'dynamic action pose, 1960s Marvel Comics aesthetic'
),
'manga': (
'manga illustration style, clean line art, '
'screen tones for shading, large expressive eyes, '
'black and white with selective screentone, '
'Shonen Jump aesthetic'
),
'graphic_novel': (
'graphic novel illustration, Moebius-inspired, '
'detailed line work, flat color fills, '
'SF aesthetic, intricate background architecture'
),
'vector_flat': (
'flat vector illustration, minimal outlines, '
'geometric shapes, limited color palette, '
'modern app icon style, clean and scalable'
),
'concept_art': (
'concept art for video game, detailed character design, '
'front view turnaround sheet, '
'multiple color variants, reference quality'
)
}
for style, prompt in list(illustration_styles.items())[:3]:
print(f'{style}: {prompt[:60]}...')การอ้างอิงรูปแบบของศิลปิน
การอ้างอิงศิลปินเฉพาะรายจะเรียกใช้ความรู้ที่โมเดลเรียนรู้เกี่ยวกับลักษณะทางภาพของศิลปินคนนั้น ใช้คำว่า 'ในสไตล์ของ' หรือ 'ได้รับแรงบันดาลใจจาก' เพื่อให้มั่นใจว่าโมเดลจะตีความว่าเป็นการอ้างอิงสไตล์ ไม่ใช่คำขอให้สร้างผลงานจริงของศิลปิน
artist_style_prompts = [
# Classic masters
'oil painting inspired by Vermeer, domestic interior scene, '
'soft diffused window light from the left, pearl earring quality',
# Impressionists
'painting in the style of Monet, water lilies and reflections, '
'dappled light, loose impressionist brushwork',
# Modern
'illustration in the style of Alphonse Mucha, '
'art nouveau ornamental border, flowing hair, '
'decorative circular frame, spring theme',
# Contemporary illustrators
'digital illustration in the style of James Gurney, '
'painterly quality, dinosaur, Dinotopia aesthetic',
# Graphic designers
'poster design inspired by Saul Bass, '
'geometric minimalism, bold primary colors, '
'mid-century modern style'
]
# Best practice: 'in the style of' activates learned style patterns
# Not appropriate: 'a painting by [living artist]' (may raise IP concerns)
print('Style reference example:', artist_style_prompts[2][:80], '...')รูปแบบตามประเภทการถ่ายภาพ
ประเภทการถ่ายภาพแต่ละประเภทมีคำศัพท์ด้านภาพเฉพาะ การระบุประเภทจะช่วยกำหนดภาษาภาพที่คาดหวัง ขนบการจัดองค์ประกอบ และสุนทรียะของการปรับภาพได้ทันที
photography_genres = {
'street_photography': (
'street photography, candid unposed moment, '
'grain, black and white, Henri Cartier-Bresson style, '
'decisive moment, natural light'
),
'fashion_editorial': (
'high fashion editorial photography, '
'Vogue magazine quality, strong directional lighting, '
'model on textured white backdrop, '
'Avedon-inspired minimalism'
),
'macro_nature': (
'macro photography of dewdrops on a spider web, '
'extreme shallow depth of field, '
'lens bokeh background, natural dawn light, '
'1:1 macro ratio'
),
'astro_photography': (
'astrophotography, milky way over mountain landscape, '
'long exposure, star trails, '
'foreground silhouette, deep space colors'
),
'documentary': (
'documentary photography, photojournalism, '
'natural ambient light, authentic emotion, '
'Magnum Photos aesthetic, raw unedited'
)
}
for genre, prompt in list(photography_genres.items())[:3]:
print(f'{genre}: {prompt[:60]}...')การผสมผสานสไตล์: การสร้างสรรค์ที่แปลกใหม่
พรอมต์ภาพที่น่าสนใจที่สุดบางส่วนผสมผสานสไตล์ที่โดยปกติไม่น่าจะอยู่ร่วมกันได้ ผลลัพธ์คือสุนทรียภาพแบบลูกผสมที่มีเอกลักษณ์ สิ่งสำคัญคือการผสมผสานอย่างกลมกลืน: สไตล์ที่มี DNA ทางภาพร่วมกันจะผสานกันได้ดีกว่าสไตล์ที่ขัดแย้งกัน
# Coherent style combinations
coherent_combos = [
# Shared aesthetic DNA
'art nouveau meets watercolor illustration, '
'organic flowing forms, soft pastel palette',
'vintage film photography meets dark academia aesthetic, '
'sepia tones, dust and grain, leather-bound books',
'Studio Ghibli inspired oil painting, '
'lush pastoral landscape, impressionist brushwork, '
'gentle nostalgic atmosphere',
'cyberpunk neon aesthetic meets traditional Japanese woodblock print, '
'bold outlines, flat colors, ukiyo-e composition'
]
# Incoherent combinations (avoid)
incoherent = [
'minimalist AND maximalist AND baroque AND minimalist', # contradictory
'photorealistic AND cartoon AND oil painting AND pixel art', # too many
]
print('Best combo example:', coherent_combos[3][:80], '...')
print('Warning: avoid contradictory combinations like:', incoherent[0][:50])เคล็ดลับด้านสไตล์เฉพาะแต่ละโมเดล
โมเดลสร้างภาพแต่ละแบบตอบสนองต่อคำศัพท์ด้านสไตล์แตกต่างกัน DALL-E 3, Midjourney และ Stable Diffusion ต่างก็มีจุดแข็ง ลักษณะเฉพาะ และรูปแบบการเขียนพรอมต์ที่เหมาะสมแตกต่างกัน
model_style_notes = {
'DALL-E 3 (OpenAI)': [
'Responds well to natural language descriptions',
'Artist name references work well',
'Avoid very long prompt strings (>300 words loses coherence)',
'Instruction-following is strong ("Do not include text")',
'Good for: illustrations, portraits, abstract concepts'
],
'Midjourney': [
'Aesthetic quality is very high with minimal prompting',
'Suffix parameters: --ar 16:9 for aspect ratio, --v 6 for version',
'Style references: --sref for image style transfer',
'Photography terms work especially well',
'Good for: artistic renders, character design, landscapes'
],
'Stable Diffusion': [
'Negative prompts are very important and effective',
'LoRA models enable fine-grained style control',
'CFG scale controls prompt adherence (7-12 recommended)',
'Model checkpoints determine base style (e.g., SDXL, Juggernaut)',
'Good for: customization, fine-tuning, commercial use'
]
}
for model, tips in model_style_notes.items():
print(f'{model}:')
for tip in tips[:2]:
print(f' - {tip}')แผ่นอ้างอิงสไตล์: ข้อมูลอ้างอิงฉบับย่อ
แผ่นอ้างอิงสไตล์จะรวบรวมคำศัพท์ที่ได้รับอนุมัติสำหรับโครงการหรือแบรนด์ เพื่อให้การสร้างภาพมีความสอดคล้องกันระหว่างสมาชิกในทีมและเครื่องมือต่าง ๆ
# Project style sheet — game UI concept art
GAME_STYLE_SHEET = {
'base_style': 'dark fantasy concept art, game UI illustration quality',
'medium': 'digital painting with painterly brushwork',
'lighting': 'dramatic rim lighting, deep shadows, magical glow effects',
'color_palette': 'deep purples, midnight blues, gold accents, shadow blacks',
'composition': 'centered composition for icons, rule of thirds for scenes',
'quality': 'highly detailed, professional game art, AAA quality',
'forbidden': [
'photorealistic', 'photograph', 'anime', 'cartoon',
'watercolor', 'sketch'
]
}
def build_game_prompt(subject, composition_override=None):
s = GAME_STYLE_SHEET
return ', '.join([
subject,
s['base_style'],
s['medium'],
s['lighting'],
s['color_palette'],
composition_override or s['composition'],
s['quality']
])
print(build_game_prompt('a fire mage casting a spell, flames erupting from hands')[:120], '...')ตรวจสอบความเข้าใจ
คุณต้องการ generate ภาพที่ดูเหมือนภาพวาดสีน้ำมันยุคทองของเนเธอร์แลนด์ โดยมีเงาที่ตัดกันอย่างชัดเจนและแสงเทียน คุณควรใช้คำศัพท์ด้านสไตล์ใด
สรุปสไตล์และสื่อ
การระบุสไตล์และสื่อช่วยให้คุณควบคุมภาษาทางภาพของภาพที่ generate ได้อย่างแม่นยำ:
- สื่อ: รูปแบบศิลปะจะกำหนดพื้นผิว คุณภาพของเส้น และสุนทรียภาพในการเรนเดอร์
- คำศัพท์ด้านสไตล์: คำศัพท์ของกระแสศิลปะและการอ้างอิงศิลปินจะเรียกใช้รูปแบบทางภาพที่โมเดลเรียนรู้ไว้
- แนวภาพถ่าย: ภาพถนน แฟชั่น มาโคร และสารคดี ต่างมีขนบเฉพาะตัว
- การเรนเดอร์สามมิติ: ชื่อเอนจิน (Octane, Blender, Unreal) จะกระตุ้นความคาดหวังด้านระดับคุณภาพ
- การผสมสไตล์: ผสมสไตล์ที่มี DNA ร่วมกันเพื่อให้ได้สุนทรียภาพแบบลูกผสมที่กลมกลืน
- แผ่นอ้างอิงสไตล์: รวบรวมคำศัพท์ของโครงการเพื่อให้ทั้งทีมใช้ภาษาเดียวกัน
เรียนรู้ AI Prompt Engineering ด้วย AI tutor — ฟรี
เขียนและเรียกใช้โค้ดจริงในเบราว์เซอร์ของคุณ รับความช่วยเหลือทันทีจาก AI tutor 24/7 และเรียนรู้ต่อจากที่คุณหยุดบนเว็บหรือในแอป
- คอร์ส
- 53
- บทเรียน
- 199
คำถามที่พบบ่อย
บทเรียน “การระบุรูปแบบและสื่อศิลป์” ฟรีหรือไม่
ใช่ — ข้อความเต็มของ “การระบุรูปแบบและสื่อศิลป์” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส AI Prompt Engineering ให้อัปเกรดเป็น CoddyKit PRO คอร์ส AI Prompt Engineering มีบทเรียนทั้งหมด 4 บทเรียน
คุณจะเรียนรู้อะไรในบทเรียน “การระบุรูปแบบและสื่อศิลป์”
ภาพเสมือนจริง ภาพสีน้ำมัน ภาพสีน้ำ และภาพเรนเดอร์สามมิติ — คำศัพท์ด้านรูปแบบ คุณปฏิบัติ AI Prompt Engineering ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน
คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน AI Prompt Engineering หรือไม่
ไม่จำเป็นต้องมีประสบการณ์มาก่อน AI Prompt Engineering บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน
บทเรียน “การระบุรูปแบบและสื่อศิลป์” ใช้เวลานานแค่ไหน
บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย
ฉันเขียนและรันโค้ดในบทเรียน AI Prompt Engineering นี้ได้ไหม
ได้ บทเรียน AI Prompt Engineering ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ
บทเรียนทั้งหมดในหลักสูตรนี้
- องค์ประกอบของพรอมต์สร้างภาพ
- การระบุรูปแบบและสื่อศิลป์
- พรอมต์เชิงลบและสิ่งที่ต้องยกเว้น
- การปรับปรุงพรอมต์สร้างภาพแบบวนซ้ำ