算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
pika-v-1-5-effects【设计与创意】Pika v1.5 | Effects. Apply creative visual effects to images using Pika v1.5 AI. Transform images with effects like explode, melt, inflate, squish, and more. Triggers: pika effects, pikaffect, image effects, creative effects, explode effect, melt effect, inflate effect, pika v1.5
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Apply creative visual effects to images using Pika v1.5. Choose from a wide range of fun and dramatic effects like Explode, Melt, Inflate, Squish, Dissolve, and many more to bring still images to life as animated videos.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pika-v-1-5-effects",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/portrait.jpg",
"pikaffect": "Explode",
"prompt": "dramatic explosion with debris"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| image_url | string | - | URL of the input image |
| negative_prompt | string | - | Text describing what to avoid in the output |
| pikaffect | string | Squish | Effect to apply. Options: Cake-ify, Crumble, Crush, Decapitate, Deflate, Dissolve, Explode, Eye-pop, Inflate, Levitate, Melt, Peel, Poke, Squish, Ta-da, Tear |
| prompt | string | - | Text prompt to guide the effect |
| seed | integer | - | Random seed for reproducible results |
Melt effect on a sculpture:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pika-v-1-5-effects",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/ice-sculpture.jpg",
"pikaffect": "Melt",
"prompt": "slowly melting into a puddle"
}
}'
Inflate effect on a character:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pika-v-1-5-effects",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/cartoon-character.png",
"pikaffect": "Inflate",
"prompt": "inflating like a balloon",
"seed": 12345
}
}'
Cake-ify effect on an object:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "pika-v-1-5-effects",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/sneaker.jpg",
"pikaffect": "Cake-ify",
"prompt": "turning into a delicious cake"
}
}'