CURL gives me the details of the HTTP conversation, probably this will help me quickly create client apps which does similar things in any language.
If you have your CouchDB instance running in your localhost and you have already created a database (Say album). The CURL command line will be something like this.
curl -vX PUT http://localhost:5984/album/1/attachment -H "Content-Type: image/jpeg" --data-binary @/path/to/my_picture.jpg
And VOILA !!!
http://localhost:5984/album/1/attachment