One of the many advantages of the new 4.5 model is its ability to accommodate more detailed style instructions. In previous models, it was necessary to prioritize specific genre and style details, but now instructions can incorporate a more conversational prompt. Previously, optimal results might have been achieved with a prompt like: 'deep house, emotional, melodic.' Now, you can provide a prompt such as: 'Create a melodic, emotional deep house song featuring organic textures and hypnotic rhythms. Begin with soft ambient layers, natural sounds, and a deep, steady groove. Gradually build with flowing melodic synths, warm basslines, and intricate, subtle percussion.'
curl --location 'https://apibox.erweima.ai/api/v1/style/generate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"content": "Pop, Mysterious"
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "string",
"param": "string",
"result": "string",
"creditsConsumed": 0,
"creditsRemaining": 0,
"successFlag": "string",
"errorCode": 0,
"errorMessage": "string",
"createTime": "string"
}
}