Create Recipe Card
Generate a recipe card for a recipe.
get/recipes/{id}/card
Request
- Base URLhttps://api.spoonacular.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Example:4632
The recipe id.
Query parameters
maskstring
Example:ellipseMask
The mask to put over the recipe image ("ellipseMask", "diamondMask", "starMask", "heartMask", "potMask", "fishMask").
backgroundImagestring
Example:background1
The background image ("none","background1", or "background2").
backgroundColorstring
Example:ffffff
The background color for the recipe card as a hex-string.
fontColorstring
Example:333333
The font color for the recipe card as a hex-string.
Response
Success
object required
Changes
No recorded changes to this operation across all 1 revision of this API.