Comment on page

Generate personalized images

Once a user has logged in to your application, you can send in prompts via API to generate personalized images.

Generate images

post
https://api.vana.com/api/v0
/generations/images
Generate an image based on a prompt

Example body

{
"exhibitName": "Intro to Prompt Engineering",
"prompt": "a painting of a <1> with a green apple in their mouth, surrealism aesthetic"
}

Example response

{
"success": true,
"jobId": "f2c95e57-c831-40e0-b108-f86d2cdc3cbd",
"transactionId": "50f5f981-76fe-4713-8f87-0b606a4270ec"
}

Get a generated image

post
https://api.vana.com/api/v0
/jobs/[JOB_ID]
Get a generated image based on a job ID