Français
Transformez un élément spécifique d’une image
curl --request POST \ --url 'https://iacrea.com/api/one_element/generate' \ --header 'x-api-key: VOTRE_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "user_id": "votre-user-id", "image_url": "https://exemple.com/image.jpg", "element": "WALL" }'
curl --request POST \ --url 'https://iacrea.com/api/one_element/generate-variation' \ --header 'x-api-key: VOTRE_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "user_id": "votre-user-id", "generation_id": "id-de-generation-precedente", "room_type": "FLOOR" }'
curl --request POST \ --url 'https://iacrea.com/api/one_element/get' \ --header 'x-api-key: VOTRE_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "user_id": "votre-user-id", "generation_id": "votre-generation-id" }'