v1

latestOpenAPI 3.0.0spoonacular API Terms2026-07-139901.1 MB

Create Recipe Card

Generate a recipe card for a recipe.

get/recipes/{id}/card

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