Entradas

Ia

import { GoogleGenAI } from "@google/genai"; const ai = new GoogleGenAI({}); const prompt = "Panning wide shot of a calico kitten sleeping in the sunshine"; // Step 1: Generate an image with Imagen. const imagenResponse = await ai.models.generateImages({ model: "imagen-3.0-generate-002", prompt: prompt, }); // Step 2: Generate video with Veo 3 using the image. let operation = await ai.models.generateVideos({ model: "veo-3.0-generate-preview", prompt: prompt, image: { imageBytes: imagenResponse.generatedImages[0].image.imageBytes, mimeType: "image/png", }, }); // Poll the operation status until the video is ready. while (!operation.done) { console.log("Waiting for video generation to complete...") await new Promise((resolve) => setTimeout(resolve, 10000)); operation = await ai.operations.getVideosOperation({ operation: operation, }); } // Download the video. ai.files.download({ file:...

MI PAGINA DE FACEBOOK

Imagen
UNANSE A MI PAGINA DE FACEBOOK AQUI EL ENLACE A MI PAGINA https://www.facebook.com/profile.php?id=61556340176712  

CANAL DE YOUTUBE

Imagen
 Bienvenidos a mi blog personal Aqui les dejo el enlace a  mi canal de youtube en el que podran encontrar videos relacionados al detectorismo y numismatica https://www.youtube.com/@BigFrankDetector

Bienvenidos a mi Blog

Imagen