@@ -133,7 +133,22 @@ Generate videos from text prompts.
133133
134134``` php
135135$video = $modelslab->video();
136+
137+ // Text to Video
136138$response = $video->textToVideo($videoSchema);
139+
140+ // Image to Video
141+ $response = $video->imageToVideo($imageToVideoSchema);
142+
143+ // Text to Video Ultra
144+ $response = $video->textToVideoUltra($text2VideoUltraSchema);
145+
146+ // Watermark Remover - Remove watermarks from videos
147+ $watermarkRemover = new WatermarkRemoverSchema([
148+ 'key' => $apiKey,
149+ 'init_video' => 'https://example.com/video.mp4'
150+ ]);
151+ $response = $video->watermarkRemover($watermarkRemover);
137152```
138153
139154### 3D API
@@ -151,7 +166,40 @@ Generate interior design images.
151166
152167``` php
153168$interior = $modelslab->interior();
154- $response = $interior->interior($interiorSchema);
169+
170+ // Interior Design
171+ $response = $interior->makeInterior($interiorSchema);
172+
173+ // Room Decorator
174+ $response = $interior->roomDecorator($roomDecoratorSchema);
175+
176+ // Floor Planning
177+ $response = $interior->floorPlanning($floorPlanningSchema);
178+
179+ // Sketch Rendering
180+ $response = $interior->sketchRendering($sketchRenderingSchema);
181+
182+ // Object Removal - Remove objects from room images
183+ $objectRemoval = new ObjectRemovalSchema([
184+ 'key' => $apiKey,
185+ 'init_image' => 'https://example.com/room.jpg',
186+ 'object_name' => 'chair',
187+ 'base64' => false
188+ ]);
189+ $response = $interior->objectRemoval($objectRemoval);
190+
191+ // Interior Mixer - Add objects from one image into another room
192+ $interiorMixer = new InteriorMixerSchema([
193+ 'key' => $apiKey,
194+ 'init_image' => 'https://example.com/room.jpg',
195+ 'object_image' => 'https://example.com/furniture.jpg',
196+ 'prompt' => 'Add the furniture to the living room',
197+ 'width' => 1280,
198+ 'height' => 1280,
199+ 'num_inference_steps' => 8,
200+ 'base64' => false
201+ ]);
202+ $response = $interior->interiorMixer($interiorMixer);
155203```
156204
157205### Realtime API
@@ -187,7 +235,34 @@ Edit and manipulate images.
187235
188236``` php
189237$imageEditing = $modelslab->imageEditing();
238+
239+ // Qwen Edit - Edit images using Qwen model
240+ $qwenEdit = new QwenEditSchema([
241+ 'key' => $apiKey,
242+ 'prompt' => 'Add a sunset in the background',
243+ 'init_image' => ['https://example.com/image1.jpg', 'https://example.com/image2.jpg'],
244+ 'base64' => false
245+ ]);
246+ $response = $imageEditing->qwenEdit($qwenEdit);
247+
248+ // Caption - Generate captions for images
249+ $caption = new CaptionSchema([
250+ 'key' => $apiKey,
251+ 'init_image' => 'https://example.com/image.jpg',
252+ 'length' => 'normal', // 'short', 'normal', or 'long'
253+ 'base64' => false
254+ ]);
255+ $response = $imageEditing->caption($caption);
256+
257+ // Other image editing methods
190258$response = $imageEditing->backgroundRemover($backgroundRemoverSchema);
259+ $response = $imageEditing->superResolution($superResolutionSchema);
260+ $response = $imageEditing->outpainting($outpaintingSchema);
261+ $response = $imageEditing->inpainting($inpaintingSchema);
262+ $response = $imageEditing->objectRemover($objectRemoverSchema);
263+ $response = $imageEditing->facegen($facegenSchema);
264+ $response = $imageEditing->headshot($headshotSchema);
265+ $response = $imageEditing->fashion($fashionSchema);
191266```
192267
193268## Configuration
0 commit comments