0

provider-modelslab (ModelsLab Image Generation)

Compare text-to-image generation models using the ModelsLab API.

Example · مثال

Content

provider-modelslab (ModelsLab Image Generation)

Compare text-to-image generation models using the ModelsLab API.

Setup

  1. Get an API key from ModelsLab
  2. Set the environment variable:
   export MODELSLAB_API_KEY=your_api_key_here

Usage

npx promptfoo@latest init --example provider-modelslab
npx promptfoo@latest eval
npx promptfoo@latest view

Source and license

Source
Promptfoo
Original
promptfoo/promptfoo/examples/provider-modelslab
License
MIT