new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

runpod/options

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Runpod image advanced parameters example

Example of image generation with advanced parameters: `const { image } = await generateImage({ model: runpod.imageModel('bytedance/seedream-3.0'), prompt: 'A sunset over mountains', size: '1328x1328', seed: 42, providerOptions: { runpod: { negative_prompt: 'blurry, low quality', enable_safety_checker: true } } });`

Runpod image modification example

Example of modifying existing images with URL: `const { image } = await generateImage({ model: runpod.imageModel('black-forest-labs/flux-1-kontext-dev'), prompt: 'Transform this into a cyberpunk style with neon lights', aspectRatio: '1:1', providerOptions: { runpod: { image: 'https://example.com/input-image.jpg' } } });` Example with base64 encoded image: `const { image } = await generateImage({ model: runpod.imageModel('black-forest-labs/flux-1-kontext-dev'), prompt: 'Make this image look like a painting', providerOptions: { runpod: { image: 'data:image/png;base64,iVBORw0KGgoAAAANS...' } } });`

Runpod image generation with full configuration example

Example of image generation with full control over parameters: `const { image } = await generateImage({ model: runpod.imageModel('black-forest-labs/flux-1-dev'), prompt: 'A majestic dragon breathing fire in a medieval castle', size: '1328x1328', seed: 42, providerOptions: { runpod: { negative_prompt: 'blurry, low quality, distorted, ugly, bad anatomy', enable_safety_checker: true, num_inference_steps: 50, guidance: 3.5, output_format: 'png', maxPollAttempts: 30, pollIntervalMillis: 4000 } } });` Example with fast generation: `const { image } = await generateImage({ model: runpod.imageModel('black-forest-labs/flux-1-schnell'), prompt: 'A simple red apple', aspectRatio: '1:1', providerOptions: { runpod: { num_inference_steps: 2, guidance: 10, output_format: 'jpg' } } });`

Runpod image provider options reference

Runpod image models support provider options through `providerOptions.runpod`: | Option | Type | Default | Description | | --- | --- | --- | --- | | `negative_prompt` | `string` | `""` | Text describing what you don't want in the image | | `enable_safety_checker` | `boolean` | `true` | Enable content safety filtering | | `image` | `string` | - | Input image: URL or base64 data URI (required for Flux Kontext models) | | `num_inference_steps` | `number` | Auto | Number of denoising steps (Flux: 4 for schnell, 28 for others) | | `guidance` | `number` | Auto | Guidance scale for prompt adherence (Flux: 7 for schnell, 2 for others) | | `output_format` | `string` | `"png"` | Output image format ("png" or "jpg") | | `maxPollAttempts` | `number` | `60` | Maximum polling attempts for async generation | | `pollIntervalMillis` | `number` | `5000` | Polling interval in milliseconds (5 seconds) |

Give your agent this brain