Submit an effect image template creation task. Use template_config_id from the template list endpoint and provide required images.
Authenticate using Bearer token. Get your API Key from the WeryAI Console.
Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx
Template configuration ID (obtained from the effect template list endpoint)
2001
Image URL list (supports jpg, jpeg, png, webp). The number of images should match the image_input value from the template config.
1["https://example.com/photo.jpg"]Whether to add background music (only applicable when the template config supports bgm)
Aspect ratio (must be one of the supported ratios from the template config)
"1:1"
Prompt placeholder inputs as key-value pairs. Keys should match the key field from prompt_variables in the template config.
{ "style": "cyberpunk" }Callback URL where results will be sent when task completes
"https://your-server.com/webhook"
Caller ID (for business association)