Formula

How to use the formula

Formula

Fabric provides custom Excel formulas that let you generate AI content directly in your spreadsheet.

GENERATE.TEXT

Generate text using AI.

=FABRIC.GENERATE.TEXT(prompt, [model])
ParameterRequiredDescription
promptYesThe text prompt to send to the AI
modelNoThe language model to use

Example:

=FABRIC.GENERATE.TEXT("Write a tagline for a coffee shop")

GENERATE.IMAGE

Generate an image using AI.

=FABRIC.GENERATE.IMAGE(prompt, [model])
ParameterRequiredDescription
promptYesDescription of the image to generate
modelNoThe image model to use

Example:

=FABRIC.GENERATE.IMAGE("A sunset over mountains")

On this page