算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
style-transfer【设计与创意】Professional artistic style transfer via OpenAI Images API. Transform images into specific art styles, eras, and visual aesthetics. Use when user needs to convert an existing image into different artistic styles, apply famous art movements, or transform visual content with specific stylistic parameters (e.g., "make this photo look like an oil paintin…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Apply artistic style transfer to images using OpenAI Images API with curated style prompts.
OPENAI_API_KEYTransform an image to oil painting style:
python3 ~/Projects/agent-scripts/skills/style-transfer/scripts/transfer.py \
--source "https://example.com/photo.jpg" \
--style "oil painting on linen, impressionist brushwork, rich texture, van gogh style"
Transform to multiple styles at once:
python3 ~/Projects/agent-scripts/skills/style-transfer/scripts/transfer.py \
--source "https://example.com/photo.jpg" \
--style "oil painting" \
--style "watercolor illustration" \
--style "cyberpunk neon" \
--style "vintage sepia photograph"
Use these pre-defined style names (or provide custom prompts):
impressionist-oil - Impressionist oil painting with visible brushworkwatercolor-dream - Soft watercolor with ink lineworkdigital-art - Modern digital art with crisp detailscomic-book - Bold comic book illustration styleanime-studio - Anime/ manga studio stylepixel-art - Retro pixel art aestheticvector-flat - Clean flat vector illustrationsurreal-abstract - Surrealist abstract artvintage-sepia - Sepia vintage photographypolaroid - Instant polaroid look with faded tonesfilm-noir - Black and white film noir aestheticcandid-snapshot - Authentic snapshot lookstudio-portrait - Professional studio photographyvogue-editorial - Fashion editorial stylegolden-hour - Golden hour warm lightingneon-noir - Cyberpunk neon noirrenaissance-portrait - Classical Renaissance oil paintingbaroque-drama - Dramatic Baroque chiaroscuroart-deco-elegance - Art Deco geometric elegancemid-century-modern - Mid-century modern illustrationvictorian-etching - Victorian etching aestheticsteampunk-gear - Steampunk mechanical styledystopian-grunge - Dystopian grunge aestheticpsychedelic-60s - 1960s psychedelic artFor fine-grained control, provide full style prompts:
python3 ~/Projects/agent-scripts/skills/style-transfer/scripts/transfer.py \
--source "https://example.com/photo.jpg" \
--prompt "watercolor painting, soft brushstrokes, pastel color palette, hand-painted illustration style, minimal detail, elegant and dreamy"
Style prompt structure:
--source - Source image URL (required)--style - Pre-defined style name (repeatable)--prompt - Full custom style prompt (overrides --style)--out-dir - Output directory (default: ~/Projects/tmp/style-transfer-*)--size - Image size: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)--quality - high/standard (default: high)--model - OpenAI image model (default: gpt-image-1.5)--api-key - OpenAI API key (or use OPENAI_API_KEY env)*.png - Transformed imagesprompts.json - Style prompts usedindex.html - Thumbnail gallery comparing styles