POST
/
v1
/
recipes
/
:recipeId
/
image
curl --request POST \
  --url https://api.mrcook.app/v1/recipes/:recipeId/image \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "url": "https://images.mrcook.app/recipe-image/018ff556-a36a-7cb8-95a1-a2ac02da3e93"
  }
}

Authorizations

x-api-key
string
header
required

How to get your API key: https://docs.mrcook.app/api/api-key

Path Parameters

recipeId
string
required

The ID of the recipe to generate an image for. How to create a recipe: https://docs.mrcook.app/api/generate-recipe

Example:

"018ff556-a36a-7cb8-95a1-a2ac02da3e93"

Response

200 - application/json
Successfully generated image.
success
boolean
required
data
object
required