Developer APIs
Discussion List
-
Automaticaly size l_text font
Hi, is there an option to automatically resize the text font? For example, if given l_text is too long, it should fit into the canvas. If l_text is short, increase the font size as much as possible. My goal is to fit a given random text into a square image as well as possible.
-
Disable sample videos in new sub-account
When creating a new sub-account, it populates the account with sample videos. Is it possible to turn this off so it's empty? { "resources": [ { "asset_id": "d496c071a41578a4e4412dd0fb459a9f", "public_id": "samples/cld-sample-video", "format": "mp4", "version": 1680847049, "resource_type": "video", "type": "upload",…
-
How to get all ressources from a folder ?
Hello, I have two folders: uploads and pdf_uploads so how can I get all ressources from the pdf_uploads ?
-
message: "Invalid Signature***********************************. String to sign
im using the mern stack and i already have used cloudinary , everything was fine till deploy of backend of render.com and front end on netlify .i get as error : message: "Invalid Signature 5a70a668aa00331f394e11318f26963d3fea6a4a. String to sign -…
-
How to use upload_chunked_stream correctly?
I'm trying to upload a unity 3D model file. The file size exceeds the maximum file size allowed for the free plan. But I thought that using the upload_chunked_stream + chunk_size could help me solve this problem. So I did the following: async uploadChunkedStream(file: any, options: any): Promise<any> { return new…
-
I get a public_id (......) is invalid error when fetching from firebase storage.
Hi, I'm trying to fetch from firebase storage. Despite double-escaping the url, I get a x-cld-error: public_id (https%253A%252F%252Ffirebasestorage.googleapis.com%252Fv0%252Fb%252Fabd-demo-ffb23.appspot.com%252Fo%252Fabddd%25252Fteslaa.jpeg%253Falt%253Dmedia%2526token%253D4c9ca3fb-14dc-42ac-a11f-54e5ae968e3d) is invalid…
-
Api to generate Video from set of images
I am searching for apis which could take input as set of images and then create video out of it. Moreover it will also work in case there APIs which can generate video using text
-
cloudinary charges for requests? charge 0.0008 per request?
I have a web page where load 20 - 50 images every image has no transformation, I had 34.35 credits I opened the page and made 50/138 requests 695 kB or 2.1 MB transferred 933 kB / 2.8 MB resources in images and ended up having 34.39 credits none of my requests make transformations
-
i deployed my django webapp on pythonanywhere but users cant upload images sucessfully to cloudinary
Unexpected error - MaxRetryError("TCPKeepAliveHTTPSConnectionPool(host='api.cloudinary.com', port=443): Max retries exceeded with url: /v1_1/dug5dj4uz/image/upload (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2279fdc580>: Failed to establish a new connection: [Errno 111] Connection…
-
OCR Image
I see that I am able to select labels in images, when running a search. Wondering if these can be made searchable.
-
Search for empty value in metadata field AND specific value in another metadata field
I can search for an empty value in a metadata field with this expression: -metadata=client_award_level I can search for a value in a metadata field with this expression: metadata.material_number="49738066" But I get an error when I try to combine them with 'AND' -metadata=client_award_level AND…
-
Select image from upload widget
Hi, I'm using javascript to upload images/videos to my cloudinary cloud using the upload widget. I'd like to select one of the images from my cloudinary cloud folder when using the upload widget. Just like we can select images from other sources like unsplash/google images etc thanks
-
Sending embedded cloudinary images in email body
Hi everyone! We just managed to add authentication to our assets via cookie, and now we are facing issues when our email bodies are rendered in email clients, such as Gmail. I don't fully understand how email servers work and handle HTML body payload, but I guess they try to download the asset (probably for security…
-
x-cld-error: public_id is too long
I get the above error while accessing -…
-
I have greenscreen videos on Cloudinary and need the background color changed.
Hi, how can I remove greenscreen from videos? I am not a programmer and need some guidance on how to process greenscreen videos with Cloudinary. Any guidance would be appreciated. Thanks, David
-
Occasional corrupt webp image transformations - any idea why?
Hello I'm doing a simple f_auto image transformation on the URL of my image. The original image is a png. After a year or so the webp image is now showing a pink stripe down the far right of the image. Eg If I look at…
-
Issues with image fetch consistency
Hello all! I've been stuck with this issue for a month and a half and I can't figure out what's causing it. I have been wanting to run tournaments on my server on discord using cloudinary to generate rosters. I wanted to run a few tests before making a more complex system so I threw together a welcome banner to see if it…
-
How to invalidate transformed image after source images are invalidated
I am compositing an image (result) out of 3 other images (a.webp, b.webp and c.webp) with the overlay (layer) transformation. When I update one of the source images (a, b or c) with the cld uploader upload command I also send the invalidate flag, but this only invalidates the cache of the source images, not of result . I…
-
GIF media is rendering improperly when optimized
Hi! Does anyone know why this gif file is rendering weirdly when using the optimized link? `https://res.cloudinary.com/manifoldxyz/image/upload/c_limit,q_80,w_1024/8faa076782593995e61a96ea29d1a47c57ce7e98f476af792632401c5d51b725.gif` Compared to this, which render fine…
-
How can I upload images and videos and get the url as a response using django-rest-framework?
Hi, please help me out. models.py class Posts(models.Model): image = models.ImageField(null=False) video = models.FileField( null=False, validators=[FileExtensionValidator(allowed_extensions=['MOV','AVI','MP4','WebM'])]) title = models.CharField(max_length=50) about = models.TextField() serializers.py class…
-
Uploading issue using cloudinary.uploader.upload
I am using cloudinary in my node.js express server. When i use the line "const result = await cloudinary.uploader.upload(`path`);" i get the correct response the first time i run the code in my server. When i try and make another request to my server i get the following error "{ message: 'Empty file', name: 'Error',…
-
How to get my Named Transformation into the Derived Presets
I made a custom named transformation; that seems ok but when I go into my Media Library and click on edit an image when it opens and I click on the Derived Images it does not show as a Derived Image; yet when I'm in Media Library and double click on the image it opens and I can see the Transformation Presets. Is this…
-
Uploading images and saving urls in database
Hi, I need to make a feature for users to be able to upload an image and then get the url from this image and save it to database so I can map over it and display it in my app. So far I understand that uploading the files from frontend can be done with cloudinary widget but how to get url back? I am using next.js and…
-
java.lang.RuntimeException: General Error -- getting this strange error while calling upload service
Hi Everyone, Since last few days, we have been receiving this weird error while trying to upload the images to cloudinary. java.lang.RuntimeException: General Error Unfortunately, this doesnt say much. All i do is, form a cloudinary url like this:…
-
How I can upload image in to cloudinary images using react?
I'm building a project for practice purposes and I want to host my media assets on this platform. I created an Image preset, everything is working fine. I just want to upload it with mern stack and Axios but I'm not able to find the API URL to upload the media. Please help to get this resolve
-
cloudinary.uploader.upload hitting 10mb limit despite resource type being "video"
Hi all, I'm using the Node.JS cloudinary SDK, with a free account, and running the following: const previewParams = { resource_type: 'video', public_id: destinationPath, overwrite: true, effect: 'preview:duration_15.0:max_seg_5:min_seg_dur_3.0' }; const response = await cloudinary.uploader.upload(httpsS3VideoPath,…
-
Blog Post: Automated Open Graph Images on Github Pages with Cloudinary
Cloudinary came through again! Turning a normally pretty tough task of auto-generating open graph images into just a string builder function. Thanks for the awesome tool guys. Blog Post
-
Is it possible to limit access to a specific folder using the Upload and/or Media Library Widget?
Hello everyone, I'm building an application where my clients are able to upload images to Cloudinary. In order to make their experience better I would like to use the Upload Widget as well as the Media Library Widget. But I don't want them to have access to all images, only to those they have uploaded. My idea was to…
-
How to improve performance of Videos in React Native?
Hey, I'm pretty new to the world video optimization. We are currently working on a tiktok-like platform for mobile (i.e. people can swipe Videos). Because this app is made for mobile, there obviously are quite a few constraints regarding the performance expectations, set by apps like Tiktok and Instagram. Our goals is to…
-
Shoppable video functionality in React
Hello community, I am trying to use the Shoppable video functionality in a React app with the React SDK but I was unable to do it. Is there any way in which this functionality can be used with React SDK? The only examples out there I could find were using the "cloudinary-video-player" library in order to use the "source"…
-
My stream in NodeJS not working.
Hello, I'm having trouble getting a video from Cloudinary and sending it to my front end via streams. Here's the code: import express, { Request, Response } from "express"; import request from "request"; import { PassThrough } from "stream"; import cloudinary from "cloudinary"; import * as dotenv from "dotenv";…
-
Is it safe to have cloud name and preset in front end code? Upload question
I have made an app with the MERN stack. I am using the url endpoint to allow users to upload images to my cloudinary, and then the data from that gets put into a mongodb database which I pull information from. I have the cloud name and preset in my .env file, but .env variables get put into the build folder anyway so it…
-
OAUTH gives Access blocked: This app’s request is invalid on incognito
When trying to login in incognito mode the app gives `Access blocked: This app’s request is invalid` error. Please see the attached screenshot.
-
Upload image fails with error "dial tcp: lookup api.cloudinary.com: no such host"
Hello I have been trying to upload to cloudinary via golang sdk. but sometimes it seems to fail after several requests (sometimes it works, other times it doesn't). I run the app in localhost (windows) and without vpn. error message: "https://api.cloudinary.com/v1_1/dd6mdlpgj/auto/upload": dial tcp: lookup…
-
I can enter .pdf file
I am doing a project with express and node.js, but one of the requirements is to receive .pdf files, in the paths of the post, can someone tell me if it is possible? and how to do it
- How to change the image extensions from jpg to webp using the WordPress plugin?
-
Cloudinary in front of Azure Blobs
Hello, Is there a way that we can have Cloudinary serve up images that are stored in Azure Blob storage? Currently we're using the javascript Cloudinary plugin to go through all the images on our site and optimize them via a FETCH. We're looking into storing our images in Azure and wondering if it would still work the same…
-
Upload fails with 403
hey all, i have been trying to upload to cloudinary via strapi upload provider. but it seem to fail while i have the right credentials in environment variables what am i missing?
-
Advanced WebGL Application using Cloudinary
Hello all - happy to be here! I'm posting this in the "developer products" channel as I think the topic is a tad more advanced than general use and has a good deal of crossover with API. Cloudinary supports WebGL to preview 3D files that have been uploaded! Objectively a very cool feature to have for previewing! However,…
-
Delete without a key? (client-side application)
Hi, I'm running a client side application. A long time ago, before I knew much about JS and front-end dev, I had setup some wrapper around the cloudinary endpoint, so my users can upload pictures, and delete them. While reviewing my code, I found that I use an api key in the bundled js. This is of course A Very Bad Idea.…