



.avif)





curl -X POST "https://api.myarchitectai.com/v1/render/interior" \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"image": "https://example.com/image.jpg",
"outputFormat": "jpg",
"prompt": "your prompt here"
}'import requests
response = requests.post(
"https://api.myarchitectai.com/v1/render/interior",
headers={
"x-api-key": "your_api_key",
"Content-Type": "application/json"
},
json={
"image": "https://example.com/image.jpg",
"outputFormat": "jpg",
"prompt": "your prompt here"
}
)
result = response.json()
print(result["output"])const response = await fetch("https://api.myarchitectai.com/v1/render/interior", {
method: "POST",
headers: {
"x-api-key": "your_api_key",
"Content-Type": "application/json"
},
body: JSON.stringify({
"image": "https://example.com/image.jpg",
"outputFormat": "jpg",
"prompt": "your prompt here"
})
});
const result = await response.json();
console.log(result.output);const axios = require("axios");
const response = await axios.post(
"https://api.myarchitectai.com/v1/render/interior",
{
"image": "https://example.com/image.jpg",
"outputFormat": "jpg",
"prompt": "your prompt here"
},
{
headers: {
"x-api-key": "your_api_key",
"Content-Type": "application/json"
}
}
);
console.log(response.data.output);Point final
Coût par demande



.avif)