All four accept the same three input styles — pick whichever your pipeline produces (JPEG, PNG, or WebP, max 5MB):
multipart/form-datawith animagefile field — a normal file upload.- JSON
image_base64— raw base64 pluscontent_type, or adata:URI. This is what AI image APIs return, so you can generate and attach in one flow. - JSON
image_url— a public https URL that Rigaly downloads server-side.
image_url. DELETE on the same path removes it.
Create a reward with an AI-generated image
The pattern: create the reward, generate the artwork with an image model, then attach it. Because the image endpoint accepts base64 directly, the model’s output goes straight to Rigaly — no file handling, no separate hosting.Doing it by chatting with an AI assistant
With the AI connector, the assistant hasset_reward_image, set_promotion_image, set_raffle_image, and set_tier_image tools — each takes an image_url.
This works best when the artwork already lives at a public URL. For example: “Create a ‘Free coffee’ reward for 1,000 points and set its image to https://mycdn.com/coffee.png.” The assistant creates the reward and attaches the image in one go.