style-transfer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Image Style Transfer

图像风格迁移

Transform any photo into stunning artistic styles using each::sense. This skill applies artistic techniques from famous painters, illustration styles, and digital art to your images while preserving the original composition and subject.
借助each::sense将任意照片转换为极具美感的艺术风格。该技能可将知名画家的艺术技法、插画风格及数字艺术应用到你的图片中,同时保留原图的构图和主体。

Features

功能特性

  • Classic Art Styles: Van Gogh, Monet, Picasso, Rembrandt
  • Traditional Media: Watercolor, oil painting, pencil sketch, charcoal
  • Digital Art: Anime/manga, pixel art, pop art, comic book
  • Custom Reference: Use any reference image as a style source
  • Preservation Options: Maintain facial features, composition, and key details
  • Multiple Outputs: Generate variations with different intensity levels
  • 经典艺术风格:梵高、莫奈、毕加索、伦勃朗
  • 传统媒介风格:水彩、油画、铅笔素描、炭笔画
  • 数字艺术风格:动漫/漫画、像素艺术、波普艺术、漫画书风格
  • 自定义参考风格:使用任意参考图片作为风格来源
  • 细节保留选项:保留面部特征、构图及关键细节
  • 多版本输出:生成不同强度的风格变体

Quick Start

快速开始

bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this photo into Van Gogh Starry Night style with swirling brushstrokes and vibrant blues",
    "image_urls": ["https://example.com/my-portrait.jpg"],
    "mode": "max"
  }'
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
   -d '{
    "message": "Transform this photo into Van Gogh Starry Night style with swirling brushstrokes and vibrant blues",
    "image_urls": ["https://example.com/my-portrait.jpg"],
    "mode": "max"
  }'

Style Categories

风格分类

CategoryStylesBest For
ImpressionistMonet, Renoir, DegasLandscapes, gardens, soft scenes
Post-ImpressionistVan Gogh, CezannePortraits, expressive scenes
CubistPicasso, BraquePortraits, abstract interpretations
TraditionalWatercolor, oil, pencilAny subject, classic feel
DigitalAnime, pixel art, pop artModern, stylized looks
CustomAny reference imageMatching specific aesthetics
分类风格适用场景
印象派莫奈、雷诺阿、德加风景、园林、柔和场景
后印象派梵高、塞尚肖像、富有表现力的场景
立体派毕加索、布拉克肖像、抽象演绎
传统风格水彩、油画、铅笔任意主题、经典质感
数字风格动漫、像素艺术、波普艺术现代、风格化外观
自定义风格任意参考图片匹配特定美学风格

Use Case Examples

用例示例

1. Van Gogh Starry Night Style

1. 梵高《星月夜》风格

Transform photos with Van Gogh's iconic swirling brushstrokes and expressive color palette.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply Van Gogh Starry Night style to this cityscape photo. Use swirling, dynamic brushstrokes, deep blues and bright yellows, expressive post-impressionist technique. Make the sky dramatic with spiral patterns.",
    "image_urls": ["https://example.com/cityscape.jpg"],
    "mode": "max"
  }'
为照片应用梵高标志性的旋转笔触和富有表现力的调色板。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply Van Gogh Starry Night style to this cityscape photo. Use swirling, dynamic brushstrokes, deep blues and bright yellows, expressive post-impressionist technique. Make the sky dramatic with spiral patterns.",
    "image_urls": ["https://example.com/cityscape.jpg"],
    "mode": "max"
  }'

2. Picasso Cubism Style

2. 毕加索立体主义风格

Deconstruct and reimagine photos in Picasso's revolutionary cubist style.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this portrait into Picasso cubist style. Fragment the face into geometric shapes, show multiple perspectives simultaneously, use muted earth tones with bold accents. Analytical cubism approach.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
以毕加索革命性的立体主义风格解构并重塑照片。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this portrait into Picasso cubist style. Fragment the face into geometric shapes, show multiple perspectives simultaneously, use muted earth tones with bold accents. Analytical cubism approach.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

3. Monet Impressionist Style

3. 莫奈印象派风格

Apply Monet's soft, light-filled impressionist technique to landscapes and scenes.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply Claude Monet impressionist style to this garden photo. Soft dappled light, loose brushstrokes, focus on atmosphere and light rather than details. Like his Water Lilies series - dreamy and ethereal.",
    "image_urls": ["https://example.com/garden.jpg"],
    "mode": "max"
  }'
为风景和场景应用莫奈柔和、充满光影的印象派技法。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply Claude Monet impressionist style to this garden photo. Soft dappled light, loose brushstrokes, focus on atmosphere and light rather than details. Like his Water Lilies series - dreamy and ethereal.",
    "image_urls": ["https://example.com/garden.jpg"],
    "mode": "max"
  }'

4. Anime/Manga Style Transfer

4. 动漫/漫画风格迁移

Convert photos into Japanese anime or manga illustration style.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this photo into anime style. Large expressive eyes, clean line art, cel-shaded coloring, vibrant colors. Studio Ghibli inspired aesthetic with soft backgrounds and detailed character rendering.",
    "image_urls": ["https://example.com/person-photo.jpg"],
    "mode": "max"
  }'
将照片转换为日本动漫或漫画插画风格。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this photo into anime style. Large expressive eyes, clean line art, cel-shaded coloring, vibrant colors. Studio Ghibli inspired aesthetic with soft backgrounds and detailed character rendering.",
    "image_urls": ["https://example.com/person-photo.jpg"],
    "mode": "max"
  }'

5. Watercolor Painting Style

5. 水彩画风格

Transform photos into delicate watercolor paintings with flowing colors and soft edges.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Convert this landscape photo into a watercolor painting. Soft washes of color, visible paper texture, gentle color bleeds, transparent layers. Traditional watercolor technique with wet-on-wet effects.",
    "image_urls": ["https://example.com/landscape.jpg"],
    "mode": "max"
  }'
将照片转换为色彩流动、边缘柔和的精致水彩画。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Convert this landscape photo into a watercolor painting. Soft washes of color, visible paper texture, gentle color bleeds, transparent layers. Traditional watercolor technique with wet-on-wet effects.",
    "image_urls": ["https://example.com/landscape.jpg"],
    "mode": "max"
  }'

6. Oil Painting Style

6. 油画风格

Apply rich, textured oil painting techniques to create museum-quality artistic renditions.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this portrait into a classical oil painting. Rich impasto brushstrokes, dramatic chiaroscuro lighting, deep saturated colors. Renaissance master style with visible paint texture and depth.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
应用富有质感的油画技法,创作博物馆级别的艺术作品。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this portrait into a classical oil painting. Rich impasto brushstrokes, dramatic chiaroscuro lighting, deep saturated colors. Renaissance master style with visible paint texture and depth.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

7. Pencil Sketch Style

7. 铅笔素描风格

Convert photos into detailed pencil drawings with crosshatching and shading.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Convert this photo into a detailed pencil sketch. Fine crosshatching for shading, clean outlines, graphite texture on paper. Photorealistic pencil drawing style with subtle gradients and precise details.",
    "image_urls": ["https://example.com/subject.jpg"],
    "mode": "max"
  }'
将照片转换为带有交叉排线和明暗 shading 的精细铅笔画。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Convert this photo into a detailed pencil sketch. Fine crosshatching for shading, clean outlines, graphite texture on paper. Photorealistic pencil drawing style with subtle gradients and precise details.",
    "image_urls": ["https://example.com/subject.jpg"],
    "mode": "max"
  }'

8. Pop Art Style

8. 波普艺术风格

Transform photos into bold, colorful pop art inspired by Warhol and Lichtenstein.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply pop art style to this portrait. Bold flat colors, Ben-Day dots, high contrast, Andy Warhol inspired. Bright neon palette with black outlines, comic book aesthetic meets fine art.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
将照片转换为受沃霍尔和利希滕斯坦启发的大胆、多彩的波普艺术风格。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply pop art style to this portrait. Bold flat colors, Ben-Day dots, high contrast, Andy Warhol inspired. Bright neon palette with black outlines, comic book aesthetic meets fine art.",
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

9. Pixel Art Style

9. 像素艺术风格

Convert photos into retro pixel art with limited color palettes.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this photo into pixel art style. 16-bit retro gaming aesthetic, limited color palette, visible pixels, clean edges. Like classic SNES or arcade game sprites but detailed.",
    "image_urls": ["https://example.com/character.jpg"],
    "mode": "max"
  }'
将照片转换为具有有限调色板的复古像素艺术风格。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Transform this photo into pixel art style. 16-bit retro gaming aesthetic, limited color palette, visible pixels, clean edges. Like classic SNES or arcade game sprites but detailed.",
    "image_urls": ["https://example.com/character.jpg"],
    "mode": "max"
  }'

10. Custom Reference Image Style

10. 自定义参考图片风格

Use any artwork as a style reference to transfer its aesthetic to your photo.
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply the artistic style from the first image (the reference artwork) to the second image (the photo). Match the color palette, brushwork, texture, and overall aesthetic of the reference while preserving the composition of the photo.",
    "image_urls": [
      "https://example.com/reference-artwork.jpg",
      "https://example.com/my-photo.jpg"
    ],
    "mode": "max"
  }'
使用任意艺术作品作为风格参考,将其美学风格迁移到你的照片中。
bash
curl -X POST https://sense.eachlabs.run/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "message": "Apply the artistic style from the first image (the reference artwork) to the second image (the photo). Match the color palette, brushwork, texture, and overall aesthetic of the reference while preserving the composition of the photo.",
    "image_urls": [
      "https://example.com/reference-artwork.jpg",
      "https://example.com/my-photo.jpg"
    ],
    "mode": "max"
  }'

Best Practices

最佳实践

Style Transfer Tips

风格迁移技巧

  • Be Specific: Describe the exact style elements you want (brushstrokes, colors, technique)
  • Reference Artists: Mention specific artists or artworks for more accurate results
  • Preserve Features: For portraits, mention if you want to preserve facial features
  • Intensity Control: Use terms like "subtle," "moderate," or "dramatic" to control effect strength
  • 具体明确:描述你想要的精确风格元素(笔触、色彩、技法)
  • 参考艺术家:提及具体艺术家或作品以获得更准确的结果
  • 保留特征:对于肖像,说明是否要保留面部特征
  • 强度控制:使用“柔和”、“中等”或“强烈”等词汇控制效果强度

Image Guidelines

图片指南

  • High Resolution: Start with high-quality source images for best results
  • Clear Subjects: Well-lit photos with clear subjects transfer better
  • Composition Matters: Simple compositions often yield cleaner stylized results
  • 高分辨率:使用高质量源图片以获得最佳效果
  • 主体清晰:光线充足、主体清晰的照片迁移效果更好
  • 构图简洁:简单的构图通常能产生更干净的风格化结果

Prompt Tips for Style Transfer

风格迁移提示词技巧

Include these details in your prompts:
  1. Style Name: Specific artist or technique (Van Gogh, watercolor, anime)
  2. Key Elements: Brushstrokes, colors, textures you want
  3. Mood: Dramatic, soft, vibrant, muted
  4. Preservation: What to keep from the original (face, composition)
  5. Intensity: How strongly to apply the style
在提示词中包含以下细节:
  1. 风格名称:具体艺术家或技法(梵高、水彩、动漫)
  2. 关键元素:你想要的笔触、色彩、纹理
  3. 氛围:强烈、柔和、鲜艳、柔和暗淡
  4. 保留内容:原图中需要保留的部分(面部、构图)
  5. 强度:风格应用的强烈程度

Example Prompt Structure

提示词结构示例

"Apply [style name] style to this [subject type].
[Describe key style elements: brushstrokes, colors, technique].
[Mood and atmosphere].
[What to preserve from original]."
"为这张[主体类型]应用[风格名称]风格。
[描述关键风格元素:笔触、色彩、技法]。
[氛围和基调]。
[需要保留的原图内容]。"

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final artwork, prints, professional useSlowerHighest
eco
Quick previews, style exploration, draftsFasterGood
生成前询问用户:
"你想要快速低成本,还是高质量?"
模式适用场景速度质量
max
最终作品、印刷、专业用途较慢最高
eco
快速预览、风格探索、草稿较快良好

Multi-Turn Style Iteration

多轮风格迭代

Use
session_id
to iterate on style transfers:
bash
undefined
使用
session_id
进行风格迁移迭代:
bash
undefined

Initial style transfer

初始风格迁移

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Van Gogh style to this portrait", "image_urls": ["https://example.com/portrait.jpg"], "session_id": "style-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Van Gogh style to this portrait", "image_urls": ["https://example.com/portrait.jpg"], "session_id": "style-project-001" }'

Refine the style

优化风格

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make the brushstrokes more pronounced and add more yellow tones like in Starry Night", "session_id": "style-project-001" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Make the brushstrokes more pronounced and add more yellow tones like in Starry Night", "session_id": "style-project-001" }'

Try a variation

尝试变体

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create a version with cooler blue tones instead", "session_id": "style-project-001" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Now create a version with cooler blue tones instead", "session_id": "style-project-001" }'
undefined

Batch Style Exploration

批量风格探索

Generate multiple style variations for comparison:
bash
undefined
生成多种风格变体进行比较:
bash
undefined

Van Gogh variation

梵高风格变体

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Van Gogh style to this photo", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Van Gogh style to this photo", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'

Monet variation

莫奈风格变体

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Monet impressionist style to this photo", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Apply Monet impressionist style to this photo", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'

Anime variation

动漫风格变体

curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Transform this photo into anime style", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'
undefined
curl -X POST https://sense.eachlabs.run/chat
-H "Content-Type: application/json"
-H "X-API-Key: $EACHLABS_API_KEY"
-H "Accept: text/event-stream"
-d '{ "message": "Transform this photo into anime style", "image_urls": ["https://example.com/photo.jpg"], "mode": "eco" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentEnsure source image complies with content policies
TimeoutComplex generationSet client timeout to minimum 10 minutes
Style not recognizedVague style descriptionBe more specific about the artistic style wanted
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai进行充值
内容政策违规包含违禁内容确保源图片符合内容政策
超时生成过程复杂将客户端超时设置为至少10分钟
风格无法识别风格描述模糊更具体地描述想要的艺术风格

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • image-generation
    - Generate images from text
  • image-editing
    - Edit and enhance images
  • product-photo-generation
    - E-commerce product shots
  • each-sense
    - 核心API文档
  • image-generation
    - 文本生成图像
  • image-editing
    - 图像编辑与增强
  • product-photo-generation
    - 电商产品图生成