Create image from text
Dynamically generates an image from a specified text string.
Basic authentication using Cloudinary API Key and API Secret.
In: header
Path Parameters
The cloud name of your product environment.
The type of resource to create. Must be "image" for text generation.
Value in
- "image"
Request Body
application/json
The text content and styling parameters for image generation.
The text string to generate an image for.
The identifier that is used for accessing the generated image. If not specified, a unique identifier is generated.
The name of the font family.
Font size in points.
12Name or RGB representation of the font's color (e.g., red or
"black"Text alignment.
Value in
- "left"
- "center"
- "right"
- "justify"
Whether to use a normal or bold font.
"normal"Value in
- "normal"
- "bold"
Whether to use a normal or italic font.
"normal"Value in
- "normal"
- "italic"
Name or RGB representation of the background color (e.g., red or
"transparent"Text opacity value between 0 (invisible) and 100.
0 <= value <= 100100Text decoration style.
"none"Value in
- "none"
- "underline"
The spacing between lines of text in pixels.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1_1/my_cloud/image/text" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{ "asset_id": "string", "public_id": "string", "version": 0, "version_id": "string", "signature": "string", "width": 0, "height": 0, "format": "string", "resource_type": "string", "created_at": "2019-08-24T14:15:22Z", "tags": [ "string" ], "pages": 0, "bytes": 0, "type": "string", "etag": "string", "placeholder": true, "url": "string", "secure_url": "string", "display_name": "string", "access_control": [ { "access_type": "token", "key": "string", "start": "string", "end": "string" } ], "regions": [ {} ], "moderation": {}, "info": {}}Destroys an asset or resource POST
Previous Page
Concatenate ordered video segments into a single MP4 asset POST
Accepts an ordered list of remote HTTP(S) URLs pointing to video segments and concatenates them, remuxing the result into a single MP4 asset that is uploaded to your product environment using the supplied upload parameters. Concatenation and the resulting upload happen asynchronously; supply a `notification_url` to be notified when the upload completes.