STYLY Logo
Language

API Documentation

Integrate the power of AI interior design into your applications

Context API

Context-aware image processing with furniture removal and enhancement capabilities.

Request Parameters

image_urlrequired

string

URL of the image to process (alternatively use base64_image)

positiverequired

string

Processing instructions describing what to do with the image

seedoptional

integer

Random seed for reproducible results

Synchronous API

Immediate Response

Synchronous context processing

cURL Example
curl -X POST "https://api.styly.fr/models/context/predict"   -H "Content-Type: application/json"   -H "X-API-Key: your-api-key-here"   -d '{
  "image_url": "https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=800&q=80&fm=jpg",
  "positive": "remove all furniture and enhance the room",
  "seed": 12345
  }'

Response Example:

{
  "result": "iVBORw0KGgoAAAANSUhEUgAABgAAAAQICAIAAABEQId4...(base64-encoded image data)",
  "time_taken": 12.3,
  "metadata": {
    "request_id": "req_1234567890",
    "model_name": "context",
    "processing_time": 12.3,
    "user_id": "user123"
  }
}

Authentication

All API requests require an API key in the header:

X-API-Key: your-api-key-here

Ready to elevate your business with tailored AI solutions?

We offer personalized solutions to enhance engagement, boost conversions, and drive success. Click the "Contact Us" button below to connect with our team and discover how we can support your unique needs!

Got All Your Questions Answered?

It's time to take action and create your first stunning designs with STYLY.

Create My First Design
free signup in 30 seconds