
Sd3.5 Medium
About Stability AI Sd3.5 Medium
Generate images from a text prompt.
Stability AI Sd3.5 Medium est un modèle de Stability AI disponible sur Eden AI via son API compatible OpenAI, à partir de 0,035 $ / image. Appelez-le avec la même clé API que tous les autres modèles Eden AI, en envoyant son ID de modèle à l'endpoint /v3/images/generations, ou via n'importe quel SDK OpenAI, avec un traitement aux États-Unis.
Tasks and prices
Stability AI Sd3.5 Medium is available on Eden AI for 1 tasks. Il est servi par l'API compatible OpenAI d'Eden AI : envoyez son ID de modèle à l'endpoint /v3/images/generations avec votre clé API Eden AI.
Parameters
What you send and what you get back when you call Stability AI Sd3.5 Medium through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Entrée
- model (obligatoire) : texte. The model ID, as provider/model.
- prompt (obligatoire) : texte. A description of the image to generate.
- size : texte. The image size, for example 1024x1024.
Réponse
- data
Estimate your monthly cost
Enter your monthly volume for Génération d'images to compare Stability AI Sd3.5 Medium with its cheapest alternatives.
Call Stability AI Sd3.5 Medium with Eden AI
Envoyez l'ID du modèle à l'endpoint compatible OpenAI /v3/images/generations. Tout SDK OpenAI fonctionne aussi : définissez son URL de base sur https://api.edenai.run/v3.
import requests
response = requests.post(
"https://api.edenai.run/v3/images/generations",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "stabilityai/sd3.5-medium",
"prompt": "A lighthouse at sunset, watercolor",
},
)
print(response.json())
curl https://api.edenai.run/v3/images/generations \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "stabilityai/sd3.5-medium", "prompt": "A lighthouse at sunset, watercolor"}'
const response = await fetch("https://api.edenai.run/v3/images/generations", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "stabilityai/sd3.5-medium",
prompt: "A lighthouse at sunset, watercolor",
}),
});
console.log(await response.json());
Questions about Stability AI Sd3.5 Medium
On Eden AI, Stability AI Sd3.5 Medium costs 0,035 $ / image for Génération d'images. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Stability AI Sd3.5 Medium is available for: Génération d'images. Input: Texte. Output: data.
Eden AI offers Génération d'images from 4 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Génération d'images
Other Génération d'images models you can call with the same key, cheapest first.
More from Stability AI
Other Stability AI models on Eden AI, for every task.