0d3cb498a3
CI / Shell Format Check (push) Has been cancelled
CI / Check Ruby (3.4) (push) Has been cancelled
CI / CI Config (push) Has been cancelled
CI / Test on Node ${{ matrix.node }} and ${{ matrix.os }}${{ matrix.shard && format(' (shard {0}/3)', matrix.shard) || '' }} (push) Has been cancelled
CI / Build on Node ${{ matrix.node }} (push) Has been cancelled
CI / Style Check (push) Has been cancelled
CI / Generate Assets (push) Has been cancelled
CI / Check Python (3.14) (push) Has been cancelled
CI / Check Python (3.9) (push) Has been cancelled
CI / Build Docs (push) Has been cancelled
CI / Code Scan Action (push) Has been cancelled
CI / Site tests (push) Has been cancelled
CI / webui tests (push) Has been cancelled
CI / Run Integration Tests (push) Has been cancelled
CI / Run Smoke Tests (push) Has been cancelled
CI / Go Tests (push) Has been cancelled
CI / Share Test (push) Has been cancelled
CI / Redteam (Production API) (push) Has been cancelled
CI / Redteam (Staging API) (push) Has been cancelled
CI / GitHub Actions Lint (push) Has been cancelled
CI / Check Ruby (3.0) (push) Has been cancelled
release-please / release-please (push) Has been cancelled
release-please / build (push) Has been cancelled
release-please / publish-npm (push) Has been cancelled
release-please / publish-npm-backfill (push) Has been cancelled
release-please / docker (push) Has been cancelled
release-please / publish-code-scan-action (push) Has been cancelled
release-please / attest-code-scan-action (push) Has been cancelled
Deploy local.promptfoo.app / Deploy to Cloudflare Pages (push) Has been cancelled
Test and Publish Multi-arch Docker Image / test (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-amd64 platform:linux/amd64 runner:ubuntu-latest]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / build-docker-and-push-digests (map[digest-suffix:linux-arm64 platform:linux/arm64 runner:ubuntu-24.04-arm]) (push) Has been cancelled
Test and Publish Multi-arch Docker Image / merge-docker-digests (push) Has been cancelled
Test and Publish Multi-arch Docker Image / Attest Multi-arch Image (push) Has been cancelled
Validate Renovate Config / Validate Renovate Configuration (push) Has been cancelled
66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
# yaml-language-server: $schema=https://promptfoo.dev/config-schema.json
|
|
description: Google Imagen image generation comparison
|
|
|
|
prompts:
|
|
- 'Create a {{quality}} image of {{subject}} with {{style}} aesthetic'
|
|
|
|
providers:
|
|
# Ultra quality - highest detail and quality
|
|
- id: google:image:imagen-4.0-ultra-generate-001
|
|
config:
|
|
# projectId: 'your-project-id' # Optional: Can be set here or via GOOGLE_PROJECT_ID env var
|
|
aspectRatio: '16:9'
|
|
# seed: 42 # Note: seed is only supported in Vertex AI, not Google AI Studio
|
|
# safetyFilterLevel: 'block_some' # Note: Google AI Studio only supports 'block_low_and_above'
|
|
# addWatermark: false # Note: addWatermark is only supported in Vertex AI
|
|
|
|
# Standard quality - balanced quality and speed
|
|
- id: google:image:imagen-4.0-generate-001
|
|
config:
|
|
aspectRatio: '16:9'
|
|
# seed: 42 # Note: seed is only supported in Vertex AI
|
|
# safetyFilterLevel: 'block_some' # Note: Google AI Studio only supports 'block_low_and_above'
|
|
# addWatermark: false # Note: addWatermark is only supported in Vertex AI
|
|
|
|
# Fast generation - optimized for speed
|
|
- id: google:image:imagen-4.0-fast-generate-001
|
|
config:
|
|
aspectRatio: '16:9'
|
|
# seed: 42 # Note: seed is only supported in Vertex AI
|
|
# safetyFilterLevel: 'block_some' # Note: Google AI Studio only supports 'block_low_and_above'
|
|
# addWatermark: false # Note: addWatermark is only supported in Vertex AI
|
|
|
|
# Previous generation for comparison
|
|
- id: google:image:imagen-3.0-generate-002
|
|
config:
|
|
aspectRatio: '16:9'
|
|
# seed: 42 # Note: seed is only supported in Vertex AI
|
|
# safetyFilterLevel: 'block_some' # Note: Google AI Studio only supports 'block_low_and_above'
|
|
# addWatermark: false # Note: addWatermark is only supported in Vertex AI
|
|
|
|
tests:
|
|
- vars:
|
|
quality: 'photorealistic'
|
|
subject: 'a futuristic spacecraft'
|
|
style: 'cinematic sci-fi'
|
|
|
|
- vars:
|
|
quality: 'highly detailed'
|
|
subject: 'starry night over a cyberpunk city'
|
|
style: 'Van Gogh painting'
|
|
|
|
- vars:
|
|
quality: 'minimalist'
|
|
subject: 'a zen garden at sunrise'
|
|
style: 'Japanese ink wash'
|
|
|
|
- vars:
|
|
quality: 'vibrant'
|
|
subject: 'tropical birds in a rainforest'
|
|
style: 'watercolor illustration'
|
|
|
|
- vars:
|
|
quality: 'dramatic'
|
|
subject: 'a medieval castle during a thunderstorm'
|
|
style: 'fantasy art'
|