Process Ai Food
Use the processAiFood
mutation to create a food analysis that can be registered on the food log.
Arguments
Argument
Type
Description
input
ProcessAIFoodInput
input.image
Upload
Food image to be processed.
input.foodDescription
String
Description of the food to be processed.
Available Fields
success
Boolean
True if the food has been processed. Otherwise, it displays False.
message
String
Description of the result.
foodAnalysis
FoodAnalysis
Example
Because it is not possible to upload files in the GraphQL playground, the following example can be executed on tools like postman.
Last updated
Was this helpful?