ar-filter-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AR Filter Generation

AR滤镜生成

Generate creative AR filters and face effects using each::sense. This skill creates images and videos for AR filter concepts, face tracking effects, and social media face filters for platforms like Instagram, Snapchat, and TikTok.
使用each::sense生成富有创意的AR滤镜与面部特效。该技能可为Instagram、Snapchat和TikTok等平台创建AR滤镜概念、人脸追踪特效以及社交媒体人脸滤镜的图片与视频。

Features

功能特性

  • Face Filters: Animal ears, noses, whiskers, and character overlays
  • Beauty Effects: Skin smoothing, contouring, and enhancement filters
  • Makeup AR: Virtual lipstick, eyeshadow, blush, and full makeup looks
  • Accessories: Sunglasses, hats, jewelry, and wearable overlays
  • Background Effects: Background replacement and blur effects
  • Face Distortion: Funny face warping and comedic effects
  • Branded Filters: Logo overlays and promotional AR experiences
  • 3D Face Tracking: Objects that follow facial movements
  • 人脸滤镜:动物耳朵、鼻子、胡须以及角色叠加层
  • 美妆特效:磨皮、修容以及面部增强滤镜
  • 虚拟妆容AR:虚拟口红、眼影、腮红以及完整妆容效果
  • 配饰叠加:太阳镜、帽子、首饰以及可穿戴物品叠加层
  • 背景特效:背景替换与模糊效果
  • 面部变形:趣味面部扭曲与喜剧特效
  • 品牌滤镜:品牌标志叠加与推广型AR体验
  • 3D人脸追踪:跟随面部动作的物体

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": "Create an AR filter concept showing a person with cute dog ears and a dog nose overlay, playful and fun style",
    "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": "Create an AR filter concept showing a person with cute dog ears and a dog nose overlay, playful and fun style",
    "mode": "max"
  }'

AR Filter Types & Use Cases

AR滤镜类型与使用场景

Filter TypeDescriptionPlatform Use
Face FiltersAnimal overlays, character masksInstagram, Snapchat, TikTok
Beauty FiltersSkin enhancement, face reshapingAll platforms
Makeup EffectsVirtual cosmetics applicationBeauty brands, influencers
AccessoriesSunglasses, hats, jewelryFashion, retail
BackgroundEnvironment replacementVideo calls, content creation
DistortionFunny face warpsEntertainment, viral content
BrandedLogo overlays, promotionalMarketing campaigns
3D ObjectsFace-tracked 3D elementsGaming, entertainment
滤镜类型描述平台适用
人脸滤镜动物叠加层、角色面具Instagram、Snapchat、TikTok
美妆滤镜皮肤增强、面部塑形全平台
虚拟妆容特效虚拟化妆品应用美妆品牌、网红达人
配饰滤镜太阳镜、帽子、首饰时尚、零售行业
背景滤镜环境替换视频通话、内容创作
变形滤镜趣味面部扭曲娱乐、爆款内容
品牌滤镜品牌标志叠加、推广内容营销活动
3D物体滤镜追踪面部的3D元素游戏、娱乐

Use Case Examples

使用案例示例

1. Face Filter Design (Dog Ears and Nose)

1. 人脸滤镜设计(狗耳朵与鼻子)

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": "Create an AR filter concept showing a young woman with realistic fluffy golden retriever dog ears on top of her head and a cute black dog nose overlay on her nose. Add subtle whisker dots on cheeks. The filter should look natural and integrate well with the face. Show front-facing selfie view.",
    "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": "Create an AR filter concept showing a young woman with realistic fluffy golden retriever dog ears on top of her head and a cute black dog nose overlay on her nose. Add subtle whisker dots on cheeks. The filter should look natural and integrate well with the face. Show front-facing selfie view.",
    "mode": "max"
  }'

2. Beauty Filter Effect

2. 美妆滤镜特效

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": "Create a beauty AR filter effect showing before and after comparison. Show a person with the beauty filter applied: smooth skin, subtle face slimming, brightened eyes, soft glow effect, and enhanced jawline definition. Natural-looking enhancement, not overdone. Professional beauty app style.",
    "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": "Create a beauty AR filter effect showing before and after comparison. Show a person with the beauty filter applied: smooth skin, subtle face slimming, brightened eyes, soft glow effect, and enhanced jawline definition. Natural-looking enhancement, not overdone. Professional beauty app style.",
    "mode": "max"
  }'

3. Makeup AR Filter

3. 虚拟妆容AR滤镜

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": "Create a virtual makeup AR filter concept. Show a woman with AR-applied makeup: bold red lipstick, smoky eye shadow in bronze and gold tones, defined eyebrows, subtle blush, and winged eyeliner. The makeup should look realistic as if professionally applied. Glamorous evening look. Front-facing portrait.",
    "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": "Create a virtual makeup AR filter concept. Show a woman with AR-applied makeup: bold red lipstick, smoky eye shadow in bronze and gold tones, defined eyebrows, subtle blush, and winged eyeliner. The makeup should look realistic as if professionally applied. Glamorous evening look. Front-facing portrait.",
    "mode": "max"
  }'

4. Sunglasses and Accessories Filter

4. 太阳镜与配饰滤镜

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": "Create an AR try-on filter showing a person wearing virtual aviator sunglasses with gold frames and gradient lenses. Add a matching gold chain necklace and small hoop earrings. The accessories should look photorealistic and properly positioned on the face. Fashion e-commerce style visualization.",
    "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": "Create an AR try-on filter showing a person wearing virtual aviator sunglasses with gold frames and gradient lenses. Add a matching gold chain necklace and small hoop earrings. The accessories should look photorealistic and properly positioned on the face. Fashion e-commerce style visualization.",
    "mode": "max"
  }'

5. Background Replacement Filter

5. 背景替换滤镜

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": "Create an AR background replacement filter concept. Show a person in selfie view with their original background replaced by a tropical beach paradise - palm trees, turquoise water, golden sand, sunset sky. Clean edge detection around the person, natural lighting blend between subject and background.",
    "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": "Create an AR background replacement filter concept. Show a person in selfie view with their original background replaced by a tropical beach paradise - palm trees, turquoise water, golden sand, sunset sky. Clean edge detection around the person, natural lighting blend between subject and background.",
    "mode": "max"
  }'

6. Face Distortion / Funny Filter

6. 面部变形/趣味滤镜

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": "Create a funny face distortion AR filter. Show a person with comically enlarged eyes (anime style big), tiny mouth, and slightly enlarged forehead. Add sparkles around the eyes and a rainbow effect. Cute and comedic style like popular Snapchat filters. Exaggerated but still recognizable.",
    "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": "Create a funny face distortion AR filter. Show a person with comically enlarged eyes (anime style big), tiny mouth, and slightly enlarged forehead. Add sparkles around the eyes and a rainbow effect. Cute and comedic style like popular Snapchat filters. Exaggerated but still recognizable.",
    "mode": "max"
  }'

7. Branded AR Filter (Logo Overlay)

7. 品牌AR滤镜(标志叠加)

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": "Create a branded AR filter concept for a sports event. Show a person with face paint in team colors (blue and white stripes on cheeks), a virtual foam finger appearing next to their head, confetti particles falling, and a banner frame around the image that says GO TEAM. Celebratory sports fan atmosphere.",
    "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": "Create a branded AR filter concept for a sports event. Show a person with face paint in team colors (blue and white stripes on cheeks), a virtual foam finger appearing next to their head, confetti particles falling, and a banner frame around the image that says GO TEAM. Celebratory sports fan atmosphere.",
    "mode": "max"
  }'

8. Holiday Themed Filter

8. 节日主题滤镜

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": "Create a Christmas holiday AR filter. Show a person wearing a virtual Santa hat, with a red Rudolph nose overlay, snowflakes falling around them, and a subtle frost effect on the edges of the frame. Add twinkling lights in the background. Festive and cheerful holiday spirit.",
    "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": "Create a Christmas holiday AR filter. Show a person wearing a virtual Santa hat, with a red Rudolph nose overlay, snowflakes falling around them, and a subtle frost effect on the edges of the frame. Add twinkling lights in the background. Festive and cheerful holiday spirit.",
    "mode": "max"
  }'

9. Game-Style Filter (Among Us)

9. 游戏风格滤镜(Among Us)

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": "Create a gaming-inspired AR filter in the style of Among Us. Transform the person into a crewmate character - their face visible through a space helmet visor, wearing the iconic colored spacesuit (red), with a small pet companion floating nearby. Add a spaceship interior background. Fun and recognizable gaming aesthetic.",
    "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": "Create a gaming-inspired AR filter in the style of Among Us. Transform the person into a crewmate character - their face visible through a space helmet visor, wearing the iconic colored spacesuit (red), with a small pet companion floating nearby. Add a spaceship interior background. Fun and recognizable gaming aesthetic.",
    "mode": "max"
  }'

10. 3D Object Face Tracking Filter

10. 3D物体人脸追踪滤镜

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": "Create a 3D face tracking AR filter concept. Show a person with a 3D floating crown hovering above their head that follows head movement, 3D butterflies orbiting around them, and magical sparkle particles emanating from their eyes. The 3D elements should have realistic lighting and shadows. Fantasy magical theme.",
    "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": "Create a 3D face tracking AR filter concept. Show a person with a 3D floating crown hovering above their head that follows head movement, 3D butterflies orbiting around them, and magical sparkle particles emanating from their eyes. The 3D elements should have realistic lighting and shadows. Fantasy magical theme.",
    "mode": "max"
  }'

Best Practices

最佳实践

Face Filter Design

人脸滤镜设计

  • Natural Integration: Filters should blend seamlessly with facial features
  • Proper Tracking Points: Design around standard face landmark positions (eyes, nose, mouth, forehead)
  • Lighting Consistency: Match filter lighting with typical selfie lighting conditions
  • Scale Appropriateness: Elements should be proportional to face size
  • 自然融合:滤镜应与面部特征无缝融合
  • 合理追踪点:围绕标准面部关键点(眼睛、鼻子、嘴巴、额头)进行设计
  • 光照一致性:使滤镜光照与典型自拍光照条件匹配
  • 比例恰当:元素大小应与面部成比例

Platform Considerations

平台适配考量

  • Instagram/TikTok: Vertical 9:16 format, mobile-first design
  • Snapchat: Consider lens studio capabilities and limitations
  • Video Calls: Subtle effects that work at lower resolutions
  • Instagram/TikTok:9:16竖屏格式,移动端优先设计
  • Snapchat:考虑Lens Studio的功能与限制
  • 视频通话:采用适用于低分辨率的轻量特效

Performance Tips

性能优化技巧

  • Simplicity: Fewer elements = better real-time performance
  • Transparency: Use proper alpha channels for overlays
  • Animation: Consider how static designs translate to animated filters
  • 简洁设计:元素越少,实时性能越好
  • 透明处理:为叠加层使用正确的Alpha通道
  • 动画适配:考虑静态设计如何转化为动画滤镜

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & cheap, or high quality?"
ModeBest ForSpeedQuality
max
Final filter concepts, client presentations, portfolio workSlowerHighest
eco
Quick drafts, concept exploration, brainstorming variationsFasterGood
生成前请询问用户:
"您需要快速低成本,还是高质量效果?"
模式适用场景速度质量
max
最终滤镜概念、客户演示、作品集创作较慢最高
eco
快速草稿、概念探索、创意变体头脑风暴较快良好

Multi-Turn Creative Iteration

多轮创意迭代

Use
session_id
to iterate on filter designs:
bash
undefined
使用
session_id
进行滤镜设计迭代:
bash
undefined

Initial filter concept

Initial filter concept

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": "Create a cat face AR filter with whiskers and cat ears", "session_id": "cat-filter-project" }'
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": "Create a cat face AR filter with whiskers and cat ears", "session_id": "cat-filter-project" }'

Iterate based on feedback

Iterate based on feedback

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 ears more realistic and fluffy, add a pink nose, and include subtle face contouring to make cheeks more cat-like", "session_id": "cat-filter-project" }'
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 ears more realistic and fluffy, add a pink nose, and include subtle face contouring to make cheeks more cat-like", "session_id": "cat-filter-project" }'

Request variation

Request 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": "Create a variation with black cat features instead of tabby, and add glowing yellow eyes effect", "session_id": "cat-filter-project" }'
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": "Create a variation with black cat features instead of tabby, and add glowing yellow eyes effect", "session_id": "cat-filter-project" }'
undefined

Filter Collection Generation

滤镜合集生成

Generate multiple related filters for a campaign:
bash
undefined
为营销活动生成多个相关滤镜:
bash
undefined

Filter 1 - Dog

Filter 1 - Dog

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": "Create an AR filter with golden retriever dog ears and nose, cute and playful", "mode": "eco", "session_id": "animal-filter-pack" }'
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": "Create an AR filter with golden retriever dog ears and nose, cute and playful", "mode": "eco", "session_id": "animal-filter-pack" }'

Filter 2 - Cat

Filter 2 - Cat

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 matching cat filter with the same style - tabby cat ears and whiskers", "mode": "eco", "session_id": "animal-filter-pack" }'
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 matching cat filter with the same style - tabby cat ears and whiskers", "mode": "eco", "session_id": "animal-filter-pack" }'

Filter 3 - Bunny

Filter 3 - Bunny

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": "Complete the pack with a bunny filter - long floppy ears and a pink bunny nose", "mode": "eco", "session_id": "animal-filter-pack" }'
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": "Complete the pack with a bunny filter - long floppy ears and a pink bunny nose", "mode": "eco", "session_id": "animal-filter-pack" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Content policy violationProhibited contentAdjust prompt to comply with platform guidelines
TimeoutComplex generationSet client timeout to minimum 10 minutes
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai进行充值
内容政策违规包含违禁内容调整提示词以符合平台规范
请求超时生成内容过于复杂将客户端超时设置为至少10分钟

Prompt Tips for AR Filters

AR滤镜提示词技巧

When creating AR filter concepts, include these details in your prompt:
  1. Filter Type: Specify the category (face filter, beauty, makeup, etc.)
  2. Elements: List all overlay elements needed (ears, nose, accessories)
  3. Style: Realistic, cartoonish, minimal, elaborate
  4. Positioning: Where elements appear relative to facial features
  5. Effects: Particles, glow, color grading, distortion
  6. Platform: Target platform if specific requirements exist
  7. Mood: Fun, glamorous, scary, festive, etc.
创建AR滤镜概念时,提示词中应包含以下细节:
  1. 滤镜类型:明确类别(人脸滤镜、美妆、虚拟妆容等)
  2. 元素列表:列出所需的所有叠加元素(耳朵、鼻子、配饰等)
  3. 风格设定:写实、卡通、极简、繁复等
  4. 位置信息:元素相对于面部特征的出现位置
  5. 特效细节:粒子、发光、色彩分级、变形等
  6. 平台适配:若有特定要求需注明目标平台
  7. 氛围情绪:趣味、奢华、惊悚、节日等

Example Prompt Structure

提示词结构示例

"Create a [filter type] AR filter showing [subject description].
Include [overlay elements] with [style/aesthetic].
Add [effects/particles] and [additional features].
[Platform/mood requirements]."
"Create a [filter type] AR filter showing [subject description].
Include [overlay elements] with [style/aesthetic].
Add [effects/particles] and [additional features].
[Platform/mood requirements]."

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • product-photo-generation
    - Product visualization
  • video-generation
    - Video content creation
  • image-generation
    - General image creation
  • each-sense
    - 核心API文档
  • product-photo-generation
    - 产品可视化
  • video-generation
    - 视频内容创作
  • image-generation
    - 通用图片创建