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

deepinfra/options

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

DeepInfra image model-specific options

Model-specific image parameters can be passed using the providerOptions.deepinfra field. The following options are available via providerOptions.deepinfra and can be typed with DeepInfraImageModelOptions: - negative_prompt (string): Text description of what to avoid in the generated image. - num_inference_steps (number): Number of denoising steps for models that expose this option. - guidance_scale (number): Guidance scale for models that expose this option. - guidance (number): Guidance value for image edit models that expose this option. - response_format ('b64_json'): Format for OpenAI-compatible image responses. DeepInfra currently supports b64_json. - quality (string): OpenAI-compatible image quality option. - style (string): OpenAI-compatible image style option. - user (string): Unique identifier for your end user.

DeepInfra image model-specific options example

Example showing how to pass model-specific parameters using providerOptions.deepinfra: ```ts import { deepInfra } from '@ai-sdk/deepinfra'; import { generateImage } from 'ai'; const { image } = await generateImage({ model: deepInfra.image('stabilityai/sd3.5'), prompt: 'A futuristic cityscape at sunset', aspectRatio: '16:9', providerOptions: { deepinfra: { num_inference_steps: 30, } satisfies DeepInfraImageModelOptions, }, }); ```

Give your agent this brain