HTML "https://api.kie.ai/api/v1/veo/generate", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode([ 'prompt' => 'A dog playing in a park', 'imageUrls' => [ 'http://example.com/image1.jpg', 'http://example.com/image2.jpg' ], 'model' => 'veo3_fast', 'watermark' => 'MyBrand', 'callBackUrl' => 'http://your-callback-url.com/complete', 'aspectRatio' => '16:9', 'seeds' => 12345, 'enableFallback' => null, 'enableTranslation' => null, 'generationType' => 'REFERENCE_2_VIDEO' ]), CURLOPT_HTTPHEADER => [ "Authorization: Bearer ", "Content-Type: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }