mcpField
N
nft-art-generation

nft-art-generation

github.com/eachlabs创意与媒体44197 次安装今天更新
代码仓库

关于 nft-art-generation

nft-art-generation 是使用 each::sense 创作 NFT 图像与视频的技能,面向 NFT 系列、市场和 Web3 项目。它支持从 PFP 和特征组合角色到像素、3D 与动画作品等类型。

主要功能

  1. 01生成 PFP 系列与特征组合角色
  2. 02创作生成艺术和单版作品
  3. 03生成像素风与 3D 艺术
  4. 04制作动画 GIF 和视频 NFT
  5. 05通过会话保持系列风格

适用场景

  1. 01设计具有一致特征的 PFP 系列
  2. 02制作单版数字艺术作品
  3. 03创作像素风或 3D NFT
  4. 04开发动画 NFT 系列

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/eachlabs/skills --skill nft-art-generation

安装后在 Claude Code 中输入/nft-art-generation确认已加载。

附带文件references/SSE-EVENTS.md

详细介绍

NFT 艺术创作

使用 each::sense 生成惊艳的 NFT 艺术作品。此技能可创建针对 NFT 系列、市场和 Web3 项目优化的图像与视频。

功能

  • PFP 系列:具有统一特征的 10K 风格头像系列
  • 生成式艺术:受算法启发的抽象与几何作品
  • 1/1 独版艺术作品:高品质单版杰作
  • 像素艺术:复古风格的像素化 NFT 艺术作品
  • 3D NFT:渲染的 3D 角色与物体
  • 动态 NFT:带有动态效果的 GIF 和视频 NFT
  • AI 艺术系列:独具特色的 AI 生成艺术系列
  • 基于特征的角色:具有可组合属性的角色

快速开始

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a PFP NFT of an ape character with cyberpunk style, neon colors, wearing futuristic sunglasses and a hoodie, dark background"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

NFT 艺术格式与尺寸

类型宽高比推荐尺寸用途
PFP 系列1:11024x1024 或 2048x2048个人资料图片、头像
生成式艺术1:12048x2048 或 4096x4096艺术作品、画廊展示
1/1 艺术作品多种2048x2048+高价值单版作品
像素艺术1:132x32 至 512x512复古系列
3D 渲染1:1 或 4:32048x20483D 角色 NFT
动态 GIF1:11024x1024动态 NFT
视频 NFT1:1 或 16:91080x1080 或 1920x1080高级动态作品

用例示例

1. PFP 系列风格(10K 风格)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 1:1 PFP NFT in the style of a 10K collection. An anthropomorphic fox character with purple fur, wearing a gold chain necklace and a backwards cap. Solid gradient background from teal to purple. Clean digital art style, bold outlines, vibrant colors."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
2. 生成式艺术作品
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a generative art piece inspired by algorithmic patterns. Abstract flowing lines and geometric shapes, inspired by Tyler Hobbs and Dmitri Cherniak. Use a limited color palette of deep blues, whites, and gold accents. Mathematical precision with organic flow. 1:1 aspect ratio."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
3. 1/1 独版艺术作品
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a high-quality 1/1 NFT artwork. A surreal dreamscape with a floating island in a cosmic void, ancient ruins overgrown with bioluminescent plants, multiple moons in the sky, ethereal atmosphere. Ultra detailed, cinematic lighting, museum-quality digital painting."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
4. 像素艺术 NFT
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a pixel art NFT character. A retro-style warrior knight with glowing sword, 32x32 pixel style scaled up cleanly. Limited color palette, nostalgic 8-bit aesthetic, solid color background. CryptoPunks meets fantasy RPG vibe."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
5. 3D NFT 艺术作品
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a 3D rendered NFT character. A stylized robot head with chrome finish, glowing LED eyes, intricate mechanical details, floating in a dark studio environment with dramatic rim lighting. Octane render quality, subsurface scattering, 1:1 aspect ratio."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
6. 动态 NFT(GIF/视频)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an animated NFT, 3-5 seconds loop. A mystical crystal orb with swirling energy inside, particles floating around it, pulsing glow effect. Seamless loop, hypnotic motion, dark background with subtle ambient particles. 1:1 square format."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
7. AI 艺术系列
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an AI art piece for a collection exploring digital consciousness. Abstract portrait merging human and digital elements, data streams flowing through a face, glitch art effects, neural network visualization overlay. Vaporwave color palette with pink, cyan, and purple. Unique artistic interpretation."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
8. 基于特征的角色生成
# First character with base traits
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a trait-based NFT character for a collection. Base: Cat humanoid. Traits: Background=Sunset Orange, Fur=Calico pattern, Eyes=Laser red, Accessory=Pirate eyepatch, Clothing=Leather jacket, Headwear=None. Consistent flat illustration style suitable for a 10K PFP collection."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "nft-collection-cats-001"
  }'

# Second character variation (same session for consistency)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create another character with different traits. Same style as before. Traits: Background=Deep Space, Fur=White, Eyes=Diamond blue, Accessory=Monocle, Clothing=Tuxedo, Headwear=Top hat. Maintain the exact same art style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "nft-collection-cats-001"
  }'
9. 抽象生成式艺术
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create an abstract generative art NFT. Inspired by Art Blocks aesthetic - recursive geometric patterns, flow fields, mathematical beauty. Colors emerge from chaos into order. Black background with vibrant color accents in orange, pink, and electric blue. Crisp vector-like precision. 1:1 format."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'
10. 赛博朋克/未来主义 NFT
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a cyberpunk NFT artwork. A futuristic street samurai character with cybernetic augmentations, neon-lit visor, holographic HUD elements, rain-soaked environment reflected on surfaces. Blade Runner meets anime aesthetic. Neon pink and cyan color scheme, dark atmospheric mood. Premium collectible quality."}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

最佳实践

系列一致性
  • 艺术风格:确保系列作品风格一致
  • 调色板:定义并坚持使用协调统一的调色板
  • 特征系统:规划清晰分类的特征(背景、身体、配饰等)
  • 分辨率:所有作品使用一致的分辨率
  • 会话 ID:相关作品使用相同的 session_id,以保持一致性
技术质量
  • 高分辨率:以 2048x2048+ 生成,确保展示质量
  • 边缘清晰:为 PFP 系列指定清晰的轮廓
  • 格式正确:静态作品使用 PNG,动态作品使用 MP4/GIF
  • 符合市场要求:确保输出符合 OpenSea、Foundation 等平台的要求
NFT 专项注意事项
  • 稀有度规划:为稀有特征设计独特样式
  • 可缩放性:确保艺术作品在小尺寸下(个人资料缩略图)效果良好
  • 独特性:每件作品在视觉上都应有所区别
  • 元数据就绪:生成作品时附上清晰的特征描述

NFT 艺术提示词技巧

创建 NFT 艺术作品时,请在提示词中包含以下详情:

  1. 系列类型:PFP、生成式、1/1、像素艺术等
  2. 艺术风格:描述视觉风格(扁平、3D、像素、绘画风)
  3. 主题:主要对象是什么(角色、抽象图案、风景)
  4. 特征/属性:如果基于特征生成,请列出具体特征
  5. 调色板:指定颜色或氛围
  6. 背景:纯色、渐变或细节丰富的背景
  7. 质量等级:如需高级或博物馆级品质,请注明
提示词结构示例
"Create a [collection type] NFT.
[Subject description] with [traits/attributes].
Style: [art style].
Colors: [color palette].
Background: [background description].
[Additional quality/format requirements]"

模式选择

生成前询问用户:

“您想要快速且低成本,还是高品质?”

模式适用场景速度品质
max系列最终作品、1/1 艺术作品、高级发行作品较慢最高
eco概念探索、特征测试、草稿迭代较快良好

多轮系列开发

使用 session_id 逐步开发系列:

# Establish collection style
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a base character for my NFT collection. A stylized bear with streetwear fashion, bold flat colors, minimalist background."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "bear-nft-project"
  }'

# Request trait variation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create the same bear character but with different accessories - add sunglasses and a gold chain. Keep the exact same art style."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "bear-nft-project"
  }'

# Request rare variant
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a rare legendary variant - same bear but with cosmic/galaxy fur pattern, glowing eyes, and a crown. This is the 1/1 rare for the collection."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "bear-nft-project"
  }'

系列批量生成

高效生成多个变体:

# Variation 1 - Common trait
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create PFP NFT: Robot character, silver body, blue LED eyes, plain gray background, minimal style"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Variation 2 - Uncommon trait
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create PFP NFT: Robot character, gold body, green LED eyes, gradient purple background, minimal style"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

# Variation 3 - Rare trait
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create PFP NFT: Robot character, holographic rainbow body, laser red eyes, cosmic space background, minimal style"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "eco"
  }'

错误处理

错误原因解决方案
Failed to create prediction: HTTP 422余额不足在 eachlabs.ai 充值
内容政策违规禁止的内容调整提示词,使其符合内容政策
超时生成过程复杂将客户端超时设置为至少 10 分钟
风格不一致新会话为系列作品使用相同的 session_id

相关技能

  • each-sense - 核心 API 文档
  • product-photo-generation - 产品图像
  • meta-ad-creative-generation - 社交媒体创意素材

评论

支持 Markdown