1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const axios = require('axios');
const fs = require('fs');
const path = require('path');
async function toB64(imgPath) {
const data = fs.readFileSync(path.resolve(imgPath));
return Buffer.from(data).toString('base64');
}
const api_key = "YOUR API-KEY";
const url = "https://api.segmind.com/v1/kling-fuzzyfuzzy";
const data = {
"image": "toB64('https://segmind-resources.s3.amazonaws.com/output/bf198dc3-6b8d-4e67-881b-bb7bd6315e19-kling-fuzzy.jpg')",
"mode": "pro",
"duration": 5
};
(async function() {
try {
const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } });
console.log(response.data);
} catch (error) {
console.error('Error:', error.response.data);
}
})();
Image
Mode of generation
Allowed values:
Duration of the animation in seconds
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
The Kling fuzzyfuzzy effect is a unique creative effect from Kling AI designed to transform standard images into charming, soft, and tactile plush-toy-animations. It offers a simple and intuitive way to add a playful and endearing aesthetic to any photograph, making it ideal for social media content creators, digital artists looking for a whimsical touch, and everyday users wanting to inject fun into their pictures.
Instant Plush Transformation - Effortlessly converts any image into a soft, fuzzy, plush-toy-style visual with a single application. This saves time and requires no manual adjustments.
Unique Aesthetic Appeal - Provides a distinctive and eye-catching look that can make your content stand out on social media and in digital portfolios. The fuzzy texture adds a layer of visual interest and charm.
Versatile Application - Works effectively with a wide range of image types, including portraits, pet photos, landscapes, and even product shots, adding a playful twist to various subjects.
Enhanced Emotional Resonance - The plush toy aesthetic often evokes feelings of warmth, comfort, and nostalgia, potentially increasing the emotional impact of your visuals. This can be particularly effective for personal and lighthearted content.
Simplified Creative Process - Eliminates the need for intricate manual editing or digital painting to achieve a fuzzy, plush-like effect. This streamlines the creative workflow and allows for rapid experimentation with different images.