Source URL: https://simonwillison.net/2024/Nov/15/recraft-v3/
Source: Simon Willison’s Weblog
Title: Recraft V3
Feedly Summary: Recraft V3
Recraft are a generative AI design tool startup based out of London who released their v3 model a few weeks ago. It’s currently sat at the top of the Artificial Analysis Image Arena Leaderboard, beating Midjourney and Flux 1.1 pro.
The thing that impressed me is that it can generate both raster and vector graphics… and the vector graphics can be exported as SVG!
Here’s what I got for raccoon with a sign that says “I love trash" – SVG here.
That’s an editable SVG – when I open it up in Pixelmator I can select and modify the individual paths and shapes:
They also have an API. I spent $1 on 1000 credits and then spent 80 credits (8 cents) making this SVG of a pelican riding a bicycle, using my API key stored in 1Password:
export RECRAFT_API_TOKEN="$(
op item get recraft.ai –fields label=password \
–format json | jq .value -r)"
curl https://external.api.recraft.ai/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $RECRAFT_API_TOKEN" \
-d ‘{
"prompt": "california brown pelican riding a bicycle",
"style": "vector_illustration",
"model": "recraftv3"
}’
Tags: stable-diffusion, ai, generative-ai
AI Summary and Description: Yes
Summary: The text discusses Recraft, a generative AI design tool that recently launched its third version, which excels in creating both raster and vector graphics. It highlights distinctive features like SVG export capabilities and API integration, relevant for professionals in AI and cloud computing security.
Detailed Description: The provided content focuses on a generative AI tool called Recraft, particularly its newly launched version 3. The tool stands out in the AI design space, offering capabilities that have implications for security and compliance in design and deployment.
Key Points:
– **Generative AI Tool**: Recraft is positioned as a significant player in the generative AI design domain. Its recent version (v3) claims the top spot on the Artificial Analysis Image Arena Leaderboard.
– **Graphic Generation**:
– Capable of producing both raster and vector graphics.
– Offers the ability to export graphics in SVG format, making it editable in other graphic design software.
– **API Integration**:
– Users can interact with the tool through an API, which enhances its utility in automated design workflows.
– Use of secure API keys for authentication indicates a focus on operational security, which is crucial for preventing unauthorized access.
– **Cost Efficiency**: The example demonstrates the low cost of using the API, with the user creating graphics at a minimal expense.
– **Practical Application**: The provided command-line interaction code illustrates how to utilize the API effectively for creative tasks, emphasizing ease of use for developers and designers.
In summary, the text depicts an innovative tool in the generative AI landscape, relevant to security and compliance professionals interested in integrating generative AI into their workflows securely and efficiently. The mention of API security and the practical application of generating artistic designs underscores its significance in today’s AI and cloud environments.