Cloudflare R2 storageAlmacenamiento Cloudflare R2 Studio
R2 is Cloudflare's file storage. Fuze uses a bucket of yours as a temporary drop box: when an AI provider needs to download a reference file from a web address, Fuze uploads it there and deletes it when the generation ends. This guide sets it up from scratch, and the free plan is enough.R2 es el almacenamiento de ficheros de Cloudflare. Fuze usa un bucket tuyo como buzón temporal: cuando un proveedor de IA necesita descargar un fichero de referencia desde una dirección web, Fuze lo sube ahí y lo borra cuando termina la generación. Esta guía lo configura desde cero, y con el plan gratuito basta.
When you need itCuándo lo necesitas
- Reference videos with BytePlus (Seedance). BytePlus does not accept a video inside the request, only a web address. Reference images do not need R2: Fuze sends them directly.Vídeos de referencia con BytePlus (Seedance). BytePlus no acepta un vídeo dentro de la petición, solo una dirección web. Las imágenes de referencia no necesitan R2: Fuze las envía directamente.
- Reference files with Cloudflare models. They are uploaded to your bucket in the same way.Ficheros de referencia con los modelos de Cloudflare. Se suben a tu bucket de la misma forma.
Without a bucket, those generations stop with a message that lists the missing fields. Everything else in Fuze works the same.Sin bucket, esas generaciones se detienen con un mensaje que indica los campos que faltan. Todo lo demás en Fuze funciona igual.
The R2 free plan includes 10 GB of storage, 1 million Class A operations and 10 million Class B operations per month, and you are only charged if you go over. Fuze deletes each file when it is done, so a few reference videos stay far below that. Cloudflare may ask for a payment method when you activate R2.El plan gratuito de R2 incluye 10 GB de almacenamiento, 1 millón de operaciones Class A y 10 millones de operaciones Class B al mes, y solo se cobra si te pasas. Fuze borra cada fichero al terminar, así que unos cuantos vídeos de referencia quedan muy por debajo. Cloudflare puede pedirte un método de pago al activar R2.
What you will end up withQué vas a conseguir
Five values. Each step below tells you where to find one, and the last step shows where they go in Fuze.Cinco valores. Cada paso te dice dónde encontrar uno, y el último paso muestra dónde se ponen en Fuze.
| ValueValor | Where you get itDónde se consigue | Where it goes in FuzeDónde va en Fuze |
|---|---|---|
| Bucket name | Step 3Paso 3 | Settings > Cloud Storage > Cloudflare R2 |
| Public URL | Step 4Paso 4 | Settings > Cloud Storage > Cloudflare R2 |
| Account ID | Step 6Paso 6 | Settings > Generation APIs > Cloudflare |
| Access Key ID | Step 7Paso 7 | Settings > Cloud Storage > Cloudflare R2 |
| Secret Access Key | Step 7Paso 7 | Settings > Cloud Storage > Cloudflare R2 |
1. Create a Cloudflare account1. Crea una cuenta de Cloudflare
Sign up at dash.cloudflare.com/sign-up with your email and a password. Cloudflare sends you an email to verify the address, and a banner in the dashboard reminds you until you do. You do not need to add a domain or a website: skip those offers. If you already have an account, go to the next step.Regístrate en dash.cloudflare.com/sign-up con tu correo y una contraseña. Cloudflare te envía un correo para verificar la dirección, y un aviso en el panel te lo recuerda hasta que lo hagas. No necesitas añadir un dominio ni una web: salta esas ofertas. Si ya tienes cuenta, pasa al siguiente paso.
2. Activate R22. Activa R2
In the left menu open Storage & databases > R2 Object Storage. The first time, Cloudflare shows the plan: press Add R2 subscription to my account. It costs $0 per month and you only pay for what goes over the free limits.En el menú de la izquierda abre Storage & databases > R2 Object Storage. La primera vez, Cloudflare muestra el plan: pulsa Add R2 subscription to my account. Cuesta 0 $ al mes y solo pagas lo que supere los límites gratuitos.

When you see Purchase complete, press Continue to R2.Cuando veas Purchase complete, pulsa Continue to R2.

3. Create the bucket3. Crea el bucket
A bucket is a folder in the cloud. Press Create bucket.Un bucket es una carpeta en la nube. Pulsa Create bucket.

- Bucket name: use lowercase letters and no spaces, for example
fuze-references. The name is permanent, and you will type it in Fuze later.Bucket name: usa minúsculas y sin espacios, por ejemplofuze-references. El nombre es permanente, y lo escribirás más tarde en Fuze. - Location Automatic and Default Storage Class Standard, as they come.Location Automatic y Default Storage Class Standard, como vienen.
- Press Create bucket.Pulsa Create bucket.

4. Turn on the public URL4. Activa la URL pública
The provider downloads the file from a web address, so the bucket needs one. Open the bucket, go to the Settings tab and find Public Development URL. Press Enable and type allow to confirm. Then copy the address that appears, which looks like https://pub-xxxxxxxx.r2.dev. That is your Public URL.El proveedor descarga el fichero desde una dirección web, así que el bucket necesita una. Abre el bucket, ve a la pestaña Settings y busca Public Development URL. Pulsa Enable y escribe allow para confirmar. Después copia la dirección que aparece, parecida a https://pub-xxxxxxxx.r2.dev. Esa es tu Public URL.

Cloudflare limits the rate of r2.dev addresses and does not recommend them for production, but they are fine to start and for a few generations at a time. For heavier use, add your own domain under Custom Domains on the same page and type that address as the Public URL. Anyone who knows the full address of a file can open it. Fuze gives each file a random name and deletes it when it is done, but do not keep anything else in this bucket.Cloudflare limita el ritmo de las direcciones r2.dev y no las recomienda para producción, pero valen para empezar y para pocas generaciones a la vez. Para un uso más intenso, añade tu propio dominio en Custom Domains, en la misma página, y escribe esa dirección como Public URL. Cualquiera que conozca la dirección completa de un fichero puede abrirlo. Fuze da a cada fichero un nombre aleatorio y lo borra al terminar, pero no guardes nada más en este bucket.
5. Delete old files automatically (recommended)5. Borra los ficheros viejos automáticamente (recomendado)
Fuze deletes each file when its generation ends. This rule is a safety net for the cases where it cannot, for example if Fuze is closed in the middle of a generation. In the same Settings tab go to Object Lifecycle Rules and press Add.Fuze borra cada fichero cuando termina su generación. Esta regla es una red de seguridad para cuando no puede, por ejemplo si cierras Fuze en mitad de una generación. En la misma pestaña Settings ve a Object Lifecycle Rules y pulsa Add.
- Rule name: anything, for example
OneDay.Rule name: el que quieras, por ejemploOneDay. - Prefix:
fuze_ref/, the folder where Fuze puts its files.Prefix:fuze_ref/, la carpeta donde Fuze guarda sus ficheros. - Delete uploaded objects after
1Days, then press Save changes.Delete uploaded objects after1Days y pulsa Save changes.

6. Copy your Account ID6. Copia tu Account ID
Go back to R2 Object Storage. On the right, in Account Details, press the copy icon next to Account ID and keep it for step 8. Fuze uses it to build the address it uploads to.Vuelve a R2 Object Storage. A la derecha, en Account Details, pulsa el icono de copiar junto a Account ID y guárdalo para el paso 8. Fuze lo usa para construir la dirección a la que sube los ficheros.

7. Create the access keys7. Crea las claves de acceso
In the same Account Details panel press Manage API Tokens, then Create Account API Token.En el mismo panel Account Details pulsa Manage API Tokens y después Create Account API Token.
- Permissions: choose Object Read & Write.Permissions: elige Object Read & Write.
- Specify bucket(s): the safest choice is Apply to specific buckets only and then your bucket, so the keys cannot touch anything else in your account.Specify bucket(s): lo más seguro es Apply to specific buckets only y después tu bucket, así las claves no pueden tocar nada más de tu cuenta.
- Leave the rest as it is and create the token.Deja el resto como está y crea el token.

Cloudflare then shows three values. Copy the Access Key ID and the Secret Access Key. The secret is shown only once, so copy it now: if you lose it, create another token.Cloudflare muestra entonces tres valores. Copia el Access Key ID y el Secret Access Key. El secret solo se muestra una vez, así que cópialo ahora: si lo pierdes, crea otro token.

You do not need the Token value at the top. It is for Cloudflare's own API, and it is not the same as the Workers AI token you may have in Settings > Generation APIs > Cloudflare. R2 only uses the Access Key ID and the Secret Access Key. Keep both private: whoever has them can read and write that bucket.No necesitas el Token value de arriba. Es para la API propia de Cloudflare, y no es el mismo que el token de Workers AI que puedas tener en Settings > Generation APIs > Cloudflare. R2 solo usa el Access Key ID y el Secret Access Key. Mantenlos en privado: quien los tenga puede leer y escribir en ese bucket.
8. Enter everything in Fuze8. Pon todo en Fuze
- Account ID: open Settings > Generation APIs > Cloudflare and paste it in the Account ID field. If you already use Cloudflare models, it is already there and you do not need to change it.Account ID: abre Settings > Generation APIs > Cloudflare y pégalo en el campo Account ID. Si ya usas los modelos de Cloudflare, ya está puesto y no hace falta cambiarlo.
- The rest: open Settings > Cloud Storage, choose the Cloudflare R2 tab and paste the Access Key ID, the Secret Access Key, the Bucket name and the Public URL. Press Save next to each one.El resto: abre Settings > Cloud Storage, elige la pestaña Cloudflare R2 y pega el Access Key ID, el Secret Access Key, el Bucket name y la Public URL. Pulsa Save junto a cada uno.

The green dot in Uses the Account ID from Generation APIs tells you the Account ID is set. Like any key in Fuze, once saved it only shows as Configured.El punto verde en Uses the Account ID from Generation APIs indica que el Account ID está puesto. Como cualquier clave en Fuze, una vez guardada solo se muestra como Configured.
Check that it worksComprueba que funciona
Generate with a BytePlus Seedance node that has a reference video connected. Fuze uploads the video to your bucket, BytePlus downloads it, and the file is deleted when the generation ends. While it runs you can see the file under fuze_ref/ in the bucket's Objects tab.Genera con un nodo de BytePlus Seedance que tenga un vídeo de referencia conectado. Fuze sube el vídeo a tu bucket, BytePlus lo descarga y el fichero se borra al terminar la generación. Mientras corre puedes ver el fichero en fuze_ref/, en la pestaña Objects del bucket.
If something failsSi algo falla
- "Cloudflare R2 not fully configured". One of the five values is empty. Check them all, including the Account ID in Generation APIs."Cloudflare R2 not fully configured". Falta uno de los cinco valores. Revísalos todos, incluido el Account ID en Generation APIs.
- HTTP 403 when uploading. A key or the secret was copied wrong, or the token has no permission for this bucket. Create a new token and paste both keys again.HTTP 403 al subir. Una clave o el secret se copiaron mal, o el token no tiene permiso sobre este bucket. Crea otro token y pega de nuevo las dos claves.
- The provider cannot download the file. Check that the Public Development URL is enabled and that the Public URL in Fuze is exactly the one Cloudflare shows.El proveedor no puede descargar el fichero. Comprueba que la Public Development URL está activada y que la Public URL en Fuze es exactamente la que muestra Cloudflare.
- "Cannot connect to Cloudflare R2". In Spain, some internet providers block Cloudflare addresses during football matches. Try again later or use a VPN."Cannot connect to Cloudflare R2". En España, algunos operadores bloquean direcciones de Cloudflare durante los partidos de fútbol. Prueba más tarde o usa una VPN.