Skip to content
Stable Diffusion API

Stable Diffusion

Mistral: Devstral 2 2512

model_id: mistralai-devstral-2512

Agentic LLM for software engineering with 123B parameters, 256k context window, and 72.2% SWE-bench score—excels at tool use, codebase exploration, and. Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring... You can integrate Mistral: Devstral 2 2512 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "mistralai-devstral-2512" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation. Mistral: Devstral 2 2512 costs $1.200000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

Mistral: Devstral 2 2512 sample image

Generate with Mistral: Devstral 2 2512 via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "mistralai-devstral-2512",
  "prompt": "a photo of mistral: devstral 2 2512",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": "7.5",
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Parameters

Parameter Default Description
model_id mistralai-devstral-2512 Model identifier
prompt
negative_prompt
width 512 Output image width (px)
height 512 Output image height (px)
samples 1 Number of images to generate
num_inference_steps 30 Denoising steps (1-50)
guidance_scale 7.5 Prompt adherence (1-20)
seed null Random seed (null to randomize)
safety_checker yes NSFW filter (yes/no)
enhance_prompt yes Auto-improve prompt (yes/no)

Also searched as

Mistral: Devstral 2 2512 is also known as: Mistral: Devstral 2 2512, mistralai-devstral-2512, mistralai devstral 2512, mistralaidevstral2512, mistralai.devstral.2512. Use it for stable diffusion image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — Mistral: Devstral 2 2512

How do I use Mistral: Devstral 2 2512 via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "mistralai-devstral-2512". Get an API key from modelslab.com.
Is Mistral: Devstral 2 2512 free to use?
Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to Mistral: Devstral 2 2512 and 1,000+ other models.
What parameters does Mistral: Devstral 2 2512 support?
Mistral: Devstral 2 2512 accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.