
Generador de IA de texto a imagen
Crea imágenes pulidas desde prompts con modelos líderes de imagen con IA, ajustes flexibles y un flujo rápido basado en navegador.
Prueba gratis la API Reference-to-Video de Vidu Q3 con hasta cuatro imágenes de referencia, salida a 1080p, sonido opcional, duración flexible y control de semilla.
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'viduq3-reference-to-video',
prompt: 'Keep the character from image one and the jacket details from image two while walking through a rainy city',
resolution: '1080p',
duration: 8,
aspect_ratio: '9:16',
images: [
'https://example.com/character-reference.jpg',
'https://example.com/outfit-reference.jpg'
],
sound: true,
seed: 42
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
// Placeholder numbering is 1-based and follows the images array order:
// <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
const mediaReferenceResponse = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'viduq3-reference-to-video',
prompt: 'Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>',
resolution: '1080p',
duration: 8,
aspect_ratio: '9:16',
images: [
'https://example.com/character-reference.jpg',
'https://example.com/coat-reference.jpg',
'https://example.com/rainy-city-reference.jpg'
],
sound: true,
seed: 42
})
});
const { data: mediaReferenceData } = await mediaReferenceResponse.json();
const mediaReferenceTaskId = mediaReferenceData.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'viduq3-reference-to-video',
'prompt': 'Keep the character from image one and the jacket details from image two while walking through a rainy city',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '9:16',
'images': [
'https://example.com/character-reference.jpg',
'https://example.com/outfit-reference.jpg'
],
'sound': True,
'seed': 42
}
)
result = response.json()
task_id = result['data']['task_id']
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based and follows the images array order:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
media_reference_response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'viduq3-reference-to-video',
'prompt': 'Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '9:16',
'images': [
'https://example.com/character-reference.jpg',
'https://example.com/coat-reference.jpg',
'https://example.com/rainy-city-reference.jpg'
],
'sound': True,
'seed': 42
}
)
media_reference_result = media_reference_response.json()
media_reference_task_id = media_reference_result['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "viduq3-reference-to-video",
"prompt": "Keep the character from image one and the jacket details from image two while walking through a rainy city",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "9:16",
"images": [
"https://example.com/character-reference.jpg",
"https://example.com/outfit-reference.jpg"
],
"sound": true,
"seed": 42
}'
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based and follows the images array order:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<image_3>>> = images[2]
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "viduq3-reference-to-video",
"prompt": "Keep the character from <<<image_1>>> wearing the coat from <<<image_2>>> while entering the rainy city shown in <<<image_3>>>, then return to a close-up of <<<image_1>>>",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "9:16",
"images": [
"https://example.com/character-reference.jpg",
"https://example.com/coat-reference.jpg",
"https://example.com/rainy-city-reference.jpg"
],
"sound": true,
"seed": 42
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| Parámetros | Precio | Precio original | Descuento |
|---|
La API Vidu Q3 Reference-to-Video ofrece generación de vídeo con IA lista para producción a desarrolladores y equipos creativos que necesitan personajes, objetos y escenas coherentes. Esta integración de API reference-to-video utiliza una o varias imágenes de referencia para fijar la identidad de los sujetos mientras genera vídeos coherentes con varias tomas y audio nativo sincronizado. Basado en el modelo Q3 de nueva generación de Vidu, combina cambios inteligentes de cámara, gran coherencia entre tomas y controles de salida flexibles para flujos de trabajo narrativos escalables en Flaq AI.
Nota Asegúrate de que los prompts y las imágenes de referencia cumplan las directrices de seguridad de contenido de Vidu. Si se produce un error, revisa la entrada en busca de contenido restringido, ajústala y vuelve a intentarlo.
Vidu Q3 Reference-to-Video frente a Vidu Q3 Image-to-Video Vidu Q3 Image-to-Video anima una imagen inicial. Vidu Q3 Reference-to-Video utiliza varias referencias de sujetos para mantener la identidad y la continuidad en una generación narrativa más rica y con varias tomas.
Vidu Q3 Reference-to-Video frente a Vidu Q3 Turbo Reference-to-Video Vidu Q3 Turbo prioriza la máxima velocidad y la eficiencia de costes. Vidu Q3 se centra en una mayor coherencia entre posiciones de cámara y una calidad de producción equilibrada para flujos de trabajo narrativos, de marca y centrados en personajes.
Vidu Q3 Reference-to-Video frente a Seedance V2.0 Reference-to-Video Seedance V2.0 admite una amplia variedad de entradas de referencia de modalidades mixtas. Vidu Q3 se diferencia por la fijación de sujetos mediante varias imágenes, los cambios inteligentes de cámara y los diálogos, efectos y música nativos estrechamente sincronizados.
Vidu Q3 Reference-to-Video frente a Wan 2.7 Reference-to-Video Wan 2.7 admite referencias mixtas de imágenes, vídeos y voz opcional. Vidu Q3 destaca por la coherencia eficiente a partir de varias imágenes, la salida nativa de audio y vídeo y la narración coherente entre los cambios de cámara.
Vidu Q3 Reference-to-Video frente a Kling Video O3 Reference-to-Video Kling Video O3 ofrece una sólida interpretación de movimientos y escenas guiada por referencias. Vidu Q3 proporciona coherencia de sujetos a partir de varias imágenes, audio multilingüe nativo y cambios de toma inteligentes para historias audiovisuales completas.
Explora varias herramientas de creación con IA para flujos rápidos de imagen y video en tu navegador, luego escala las ideas exitosas con las API de modelos listas para producción de Flaq AI. Flaq AI proporciona una capa API unificada para todos los modelos, lo que facilita usar y escalar tus flujos.

Crea imágenes pulidas desde prompts con modelos líderes de imagen con IA, ajustes flexibles y un flujo rápido basado en navegador.

Sube una imagen de referencia, guía las ediciones con prompts y transforma visuales para diseño, marketing y producción creativa.

Convierte ideas de escenas escritas en videos cortos con IA, selección de modelos, prompts de movimiento y controles prácticos de generación.

Anima imágenes de referencia en clips de video con IA fluidos para productos, retratos, publicaciones sociales y conceptos creativos.